Creates a TensorArray for storing multiple gradients of values in the given handle.
tf.raw_ops.TensorArrayGradWithShape(
handle, flow_in, shape_to_prepend, source, name=None
)
Similar to TensorArrayGradV3. However it creates an accumulator with an expanded shape compared to the input TensorArray whose gradient is being computed. This enables multiple gradients for the same TensorArray to be calculated using the same accumulator.
Returns | |
---|---|
A tuple of Tensor objects (grad_handle, flow_out).
|
|
grad_handle
|
A Tensor of type resource .
|
flow_out
|
A Tensor of type float32 .
|