Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deepspeedai/DeepSpeed
/ size
Method
size
csrc/adam/cpu_adam_impl.cpp:416–416 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
414
}
415
416
size_t size() const { return n_; }
417
418
// Split [0, total) into one chunk per thread. Chunk boundaries are rounded up to a
419
// multiple of `align` so each slice's AVX/scalar split lines up with the whole-tensor
Callers
15
transpose_for_scores
Method · 0.45
transpose_key_for_scores
Method · 0.45
forward
Method · 0.45
forward
Method · 0.45
transpose_for_scores
Method · 0.45
transpose_key_for_scores
Method · 0.45
forward
Method · 0.45
forward
Method · 0.45
to_layers
Method · 0.45
__init__
Method · 0.45
checkpoint_correctness_verification
Function · 0.45
reference_implementation
Function · 0.45
Calls
no outgoing calls
Tested by
15
reference_implementation
Function · 0.36
reference_implementation
Function · 0.36
reference_implementation
Function · 0.36
reference_implementation
Function · 0.36
test_cuda_post_ln
Function · 0.36
test_dtypes
Function · 0.36
reference_implementation
Function · 0.36
test_cuda_pre_ln
Function · 0.36
test_moe_scatter
Function · 0.36
forward
Method · 0.36
forward
Method · 0.36
_assert_secondary_tensor_size
Function · 0.36