MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / dimensions

Method dimensions

tensorflow/compiler/xla/shape.h:102–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100 // Methods for accessing the dimensions array.
101 int dimensions_size() const { return dimensions_.size(); }
102 int64 dimensions(int index) const { return dimensions_.at(index); }
103 void set_dimensions(int index, int64 value) { dimensions_.at(index) = value; }
104 void add_dimensions(int64 value) {
105 dimensions_.push_back(value);

Callers 15

NumItemsMethod · 0.45
countMethod · 0.45
feature_map_countMethod · 0.45
spatial_sizeMethod · 0.45
input_filter_dimsMethod · 0.45
TESTFunction · 0.45
ExportXlaOpFunction · 0.45
CreateLiteralFromAttrFunction · 0.45
ConvertTensorShapeToTypeFunction · 0.45

Calls 1

atMethod · 0.45

Tested by 5

TESTFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36