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

Function ReadTensor

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

ReadTensor constructs a Tensor with the provided type and shape from the serialized tensor contents in r. See also WriteContentsTo.

(dataType DataType, shape []int64, r io.Reader)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Calls 6

isTensorSerializableFunction · 0.85
typeOfFunction · 0.85
numElementsFunction · 0.85
tensorDataFunction · 0.85
SizeMethod · 0.45
ReadMethod · 0.45