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

Method dims

tensorflow/core/framework/tensor.h:262–262  ·  view source on GitHub ↗

\brief Convenience accessor for the tensor shape. For all shape accessors, see comments for relevant methods of `TensorShape` in `tensor_shape.h`.

Source from the content-addressed store, hash-verified

260 /// For all shape accessors, see comments for relevant methods of
261 /// `TensorShape` in `tensor_shape.h`.
262 int dims() const { return shape().dims(); }
263
264 /// Convenience accessor for the tensor shape.
265 int64 dim_size(int d) const { return shape().dim_size(d); }

Callers 15

ConstructMPIResponseFunction · 0.45
ComputeAsyncMethod · 0.45
RingAllgatherFunction · 0.45
ConstructMPIResponseFunction · 0.45
ComputeAsyncMethod · 0.45
RingAllgatherFunction · 0.45
InputIndexerMethod · 0.45
TensorShapeToVectorMethod · 0.45
process_desired_shapeFunction · 0.45
do_periodic_resample_opFunction · 0.45
ComputeMethod · 0.45
ComputeMethod · 0.45

Calls 1

shapeFunction · 0.50

Tested by 15

TEST_FFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
TEST_FFunction · 0.36
TestResizeBilinearOneDimFunction · 0.36
TEST_FFunction · 0.36
TESTFunction · 0.36
TESTFunction · 0.36
SetRandomImageInputMethod · 0.36
SetRandomImageInputMethod · 0.36
TESTFunction · 0.36