MCPcopy Create free account
hub / github.com/deepspeedai/DeepSpeed / type

Method type

deepspeed/runtime/sparse_tensor.py:36–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34
35 @staticmethod
36 def type():
37 return "deepspeed.SparseTensor"
38
39 def sparse_size(self):
40 index_size = list(self.indices.size())

Callers 11

_ref_forwardMethod · 0.80
forwardMethod · 0.80
_ref_forwardMethod · 0.80
_check_parityMethod · 0.80
funcFunction · 0.80
cuda_wf6af16_linearFunction · 0.80
preprocess_weightFunction · 0.80
_bcast_pipe_scalarMethod · 0.80
multi_tensor_applyFunction · 0.80
lambFunction · 0.80
shm_interface.cppFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected