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

Method unstack

tensorflow/python/ops/tensor_array_ops.py:315–320  ·  view source on GitHub ↗

See TensorArray.

(self, value, name=None)

Source from the content-addressed store, hash-verified

313
314 @tf_should_use.should_use_result
315 def unstack(self, value, name=None):
316 """See TensorArray."""
317 with ops.name_scope(name, "TensorArrayUnstack", [self._handle, value]):
318 num_elements = array_ops.shape(value)[0]
319 return self.scatter(
320 indices=math_ops.range(0, num_elements), value=value, name=name)
321
322 @tf_should_use.should_use_result
323 def scatter(self, indices, value, name=None):

Callers

nothing calls this directly

Calls 4

scatterMethod · 0.95
name_scopeMethod · 0.45
shapeMethod · 0.45
rangeMethod · 0.45

Tested by

no test coverage detected