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

Method CopyFrom

tensorflow/core/framework/tensor.h:179–184  ·  view source on GitHub ↗

\brief Copy the other tensor into this tensor and reshape it. This tensor shares other's underlying storage. Returns `true` iff `other.shape()` has the same number of elements of the given `shape`.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

copy_attrFunction · 0.45
set_attr_dtypeFunction · 0.45
set_attr_shapeFunction · 0.45
set_attr_tensorFunction · 0.45
set_attr_stringFunction · 0.45
set_attr_int_listFunction · 0.45
set_attr_boolFunction · 0.45
set_attr_intFunction · 0.45
set_attr_floatFunction · 0.45

Calls 2

NumElementsMethod · 0.45
num_elementsMethod · 0.45