MCPcopy 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

CreateFromArrayMethod · 0.80
UpdateSliceMethod · 0.80
PopulateFromArrayMethod · 0.80
TESTFunction · 0.80
TileOffsetForDeviceMethod · 0.80
TileLimitForDeviceMethod · 0.80
ValidateNonTupleMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by 1

TESTFunction · 0.64