#include <array_ops.h>
Assignvalue
to the sliced l-value reference of ref
.
The values of value
are assigned to the positions in the variable ref
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 ref
.
Arguments:
Returns:
Output
: The output_ref tensor. Constructors and Destructors | |
---|---|
StridedSliceAssign(const ::tensorflow::Scope & scope, ::tensorflow::Input ref, ::tensorflow::Input begin, ::tensorflow::Input end, ::tensorflow::Input strides, ::tensorflow::Input value) | |
StridedSliceAssign(const ::tensorflow::Scope & scope, ::tensorflow::Input ref, ::tensorflow::Input begin, ::tensorflow::Input end, ::tensorflow::Input strides, ::tensorflow::Input value, const StridedSliceAssign::Attrs & attrs) |
Public attributes | |
---|---|
output_ref |
Public functions | |
---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const |
Public static functions | |
---|---|
BeginMask(int64 x) | |
EllipsisMask(int64 x) | |
EndMask(int64 x) | |
NewAxisMask(int64 x) | |
ShrinkAxisMask(int64 x) |
Structs | |
---|---|
tensorflow::ops::StridedSliceAssign::Attrs | Optional attribute setters for StridedSliceAssign. |
::tensorflow::Output output_ref
StridedSliceAssign( const ::tensorflow::Scope & scope, ::tensorflow::Input ref, ::tensorflow::Input begin, ::tensorflow::Input end, ::tensorflow::Input strides, ::tensorflow::Input value )
StridedSliceAssign( const ::tensorflow::Scope & scope, ::tensorflow::Input ref, ::tensorflow::Input begin, ::tensorflow::Input end, ::tensorflow::Input strides, ::tensorflow::Input value, const StridedSliceAssign::Attrs & attrs )
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output() const
Attrs BeginMask( int64 x )
Attrs EllipsisMask( int64 x )
Attrs EndMask( int64 x )
Attrs NewAxisMask( int64 x )
Attrs ShrinkAxisMask( int64 x )
© 2018 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/api_docs/cc/class/tensorflow/ops/strided-slice-assign.html