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

Method _shape_as_list

tensorflow/python/framework/ops.py:560–564  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

558 yield self[i]
559
560 def _shape_as_list(self):
561 if self.shape.ndims is not None:
562 return [dim.value for dim in self.shape.dims]
563 else:
564 return None
565
566 def _shape_tuple(self):
567 shape = self._shape_as_list()

Callers 11

_shape_tupleMethod · 0.95
testSparseTensorMethod · 0.45
testInt32SparseTensorMethod · 0.45
testInt64SparseTensorMethod · 0.45
runFiniteDifferencesMethod · 0.45
testSparseTensorMethod · 0.45
testInt32SparseTensorMethod · 0.45
testInt64SparseTensorMethod · 0.45
testSparseTensorMethod · 0.45
testInt32SparseTensorMethod · 0.45
testInt64SparseTensorMethod · 0.45

Calls

no outgoing calls

Tested by 10

testSparseTensorMethod · 0.36
testInt32SparseTensorMethod · 0.36
testInt64SparseTensorMethod · 0.36
runFiniteDifferencesMethod · 0.36
testSparseTensorMethod · 0.36
testInt32SparseTensorMethod · 0.36
testInt64SparseTensorMethod · 0.36
testSparseTensorMethod · 0.36
testInt32SparseTensorMethod · 0.36
testInt64SparseTensorMethod · 0.36