Assign value to the sliced l-value reference of input.
tf.raw_ops.TensorStridedSliceUpdate(
input,
begin,
end,
strides,
value,
begin_mask=0,
end_mask=0,
ellipsis_mask=0,
new_axis_mask=0,
shrink_axis_mask=0,
name=None
)
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
Tensor.
begin
Tensor. Must be one of the following types: int32, int64.
end
Tensor. Must have the same type as begin.
strides
Tensor. Must have the same type as begin.
value
Tensor. Must have the same type as input.
begin_mask
int. Defaults to 0.
end_mask
int. Defaults to 0.
ellipsis_mask
int. Defaults to 0.
new_axis_mask
int. Defaults to 0.
shrink_axis_mask
int. Defaults to 0.
name
Returns | |
|---|---|
A Tensor. Has the same type as input.
|