See TensorArray.
(self, value, name=None)
| 567 | |
| 568 | @tf_should_use.should_use_result |
| 569 | def unstack(self, value, name=None): |
| 570 | """See TensorArray.""" |
| 571 | with ops.name_scope(name, "TensorArrayUnstack", [self._flow, value]): |
| 572 | # TODO(b/129870929): Fix after all callers provide proper init dtype. |
| 573 | value = ops.convert_to_tensor( |
| 574 | value, preferred_dtype=self._dtype, name="value") |
| 575 | _check_dtypes(value, self._dtype) |
| 576 | self._check_element_shape(value.shape[1:]) |
| 577 | flow_out = list_ops.tensor_list_from_tensor( |
| 578 | tensor=value, element_shape=value.shape[1:]) |
| 579 | return build_ta_with_new_flow(self, flow_out) |
| 580 | |
| 581 | @tf_should_use.should_use_result |
| 582 | def scatter(self, indices, value, name=None): |
nothing calls this directly
no test coverage detected