Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ num_dimensions
Method
num_dimensions
tensorflow/compiler/xla/array.h:413–413 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
411
const std::vector<int64>& dimensions() const { return sizes_; }
412
413
int64 num_dimensions() const { return sizes_.size(); }
414
415
// Returns the total number of elements in the array.
416
int64 num_elements() const {
Callers
7
CreateFromArray
Method · 0.80
UpdateSlice
Method · 0.80
PopulateFromArray
Method · 0.80
TEST
Function · 0.80
TileOffsetForDevice
Method · 0.80
TileLimitForDevice
Method · 0.80
ValidateNonTuple
Method · 0.80
Calls
1
size
Method · 0.45
Tested by
1
TEST
Function · 0.64