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

Method ndim

tensorflow/python/framework/ops.py:1047–1049  ·  view source on GitHub ↗

Returns the number of Tensor dimensions.

(self)

Source from the content-addressed store, hash-verified

1045
1046 @property
1047 def ndim(self):
1048 """Returns the number of Tensor dimensions."""
1049 return self.shape.ndims
1050
1051 @deprecation.deprecated(None, "Use tf.identity instead.")
1052 def cpu(self):

Callers 9

_normalize_pylistFunction · 0.45
_constant_valueFunction · 0.45
get_inner_shapeFunction · 0.45
check_inner_shapeFunction · 0.45
_normalize_pylistFunction · 0.45
PYBIND11_MODULEFunction · 0.45
CastToArrayFunction · 0.45

Calls

no outgoing calls

Tested by 2

_normalize_pylistFunction · 0.36
_normalize_pylistFunction · 0.36