MCPcopy Create free account
hub / github.com/benoitsteiner/tensorflow-opencl / Value

Method Value

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

Value converts the Tensor to a Go value. For now, not all Tensor types are supported, and this function may panic if it encounters an unsupported DataType. The type of the output depends on the Tensor type and dimensions. For example: Tensor(int64, 0): int64 Tensor(float64, 3): [][][]float64

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 10

DataTypeMethod · 0.95
ShapeMethod · 0.95
decodeMethod · 0.95
typeOfFunction · 0.85
tensorDataFunction · 0.85
decodeTensorFunction · 0.85
bugFunction · 0.85
numElementsFunction · 0.85
newStatusFunction · 0.85
NewMethod · 0.45