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

Method Shape

tensorflow/go/tensor.go:160–160  ·  view source on GitHub ↗

Shape returns the shape of the Tensor.

()

Source from the content-addressed store, hash-verified

158
159// Shape returns the shape of the Tensor.
160func (t *Tensor) Shape() []int64 { return t.shape }
161
162// Value converts the Tensor to a Go value. For now, not all Tensor types are
163// supported, and this function may panic if it encounters an unsupported

Callers 12

ValueMethod · 0.95
TestNewTensorFunction · 0.95
TestTensorSerializationFunction · 0.95
TapeTensorFromTensorFunction · 0.45
TFE_Py_EncodeTensorFunction · 0.45
TestAddOperationFailureFunction · 0.45
TestDatasetFunction · 0.45
ExampleFunction · 0.45
WavToSpectrogramFunction · 0.45

Calls

no outgoing calls

Tested by 9

TestNewTensorFunction · 0.76
TestTensorSerializationFunction · 0.76
TestAddOperationFailureFunction · 0.36
TestDatasetFunction · 0.36
ExampleFunction · 0.36
WavToSpectrogramFunction · 0.36