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

Method read

tensorflow/python/ops/tensor_array_ops.py:1057–1067  ·  view source on GitHub ↗

Read the value at location `index` in the TensorArray. Args: index: 0-D. int32 tensor with the index to read from. name: A name for the operation (optional). Returns: The tensor at index `index`.

(self, index, name=None)

Source from the content-addressed store, hash-verified

1055 return self._implementation.grad(source, flow=flow, name=name)
1056
1057 def read(self, index, name=None):
1058 """Read the value at location `index` in the TensorArray.
1059
1060 Args:
1061 index: 0-D. int32 tensor with the index to read from.
1062 name: A name for the operation (optional).
1063
1064 Returns:
1065 The tensor at index `index`.
1066 """
1067 return self._implementation.read(index, name=name)
1068
1069 def write(self, index, value, name=None):
1070 """Write `value` into index `index` of the TensorArray.

Calls

no outgoing calls