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

Method dims

tensorflow/core/framework/tensor_shape_test.cc:263–263  ·  view source on GitHub ↗

Return the number of dimensions in the tensor.

Source from the content-addressed store, hash-verified

261
262 /// Return the number of dimensions in the tensor.
263 int dims() const { return dim_sizes_.size(); }
264
265 /// \brief Returns the number of elements in dimension `d`.
266 /// REQUIRES: `0 <= d < dims()`

Callers 2

TESTFunction · 0.45
IsSameSizeMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected