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

Method size

csrc/adam/cpu_adam_impl.cpp:575–575  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

573 }
574
575 size_t size() const { return n_; }
576
577 // Split [0, total) into one chunk per thread. Chunk boundaries are rounded up to a
578 // multiple of `align` so each slice's AVX/scalar split lines up with the whole-tensor

Callers 15

getNumParamsMethod · 0.45
CustomOpExecutorMethod · 0.45
local_arrayFunction · 0.45
addMethod · 0.45
runMethod · 0.45
TestGemmFP16Method · 0.45
multi_tensor_applyFunction · 0.45
quantize_kernelFunction · 0.45
dequantizeFunction · 0.45
quantized_reductionFunction · 0.45
token_sort_Function · 0.45
token_gatherFunction · 0.45

Calls

no outgoing calls

Tested by 1

TestGemmFP16Method · 0.36