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

Method _add_input

tensorflow/python/framework/ops.py:1739–1768  ·  view source on GitHub ↗

Add a new input to this operation. Args: tensor: the Tensor to add as an input. dtype: tf.DType: type of the input; defaults to the tensor's dtype. Raises: TypeError: if tensor is not a Tensor, or if input tensor type is not convertible to dtype. Val

(self, tensor, dtype=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

_connect_opsMethod · 0.80
import_graph_defFunction · 0.80

Calls 5

_recompute_node_defMethod · 0.95
_assert_same_graphFunction · 0.85
is_compatible_withMethod · 0.45
appendMethod · 0.45
_add_consumerMethod · 0.45

Tested by

no test coverage detected