tf.raw_ops.TensorStridedSliceUpdate

Assign value to the sliced l-value reference of input.

The values of value are assigned to the positions in the tensor input that are selected by the slice parameters. The slice parameters begin end strides etc. work exactly as in StridedSlice.

NOTE this op currently does not support broadcasting and so value's shape must be exactly the shape produced by the slice of input.

Args
input A Tensor.
begin A Tensor. Must be one of the following types: int32, int64.
end A Tensor. Must have the same type as begin.
strides A Tensor. Must have the same type as begin.
value A Tensor. Must have the same type as input.
begin_mask An optional int. Defaults to 0.
end_mask An optional int. Defaults to 0.
ellipsis_mask An optional int. Defaults to 0.
new_axis_mask An optional int. Defaults to 0.
shrink_axis_mask An optional int. Defaults to 0.
name A name for the operation (optional).
Returns
A Tensor. Has the same type as input.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/raw_ops/TensorStridedSliceUpdate