W3cubDocs

/TensorFlow C++

tensorflow::ops::StridedSliceAssign

#include <array_ops.h>

Assignvalue to the sliced l-value reference of ref.

Summary

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 inStridedSlice`.

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.

Public attributes

output_ref

::tensorflow::Output output_ref

Public functions

StridedSliceAssign

 StridedSliceAssign(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input ref,
  ::tensorflow::Input begin,
  ::tensorflow::Input end,
  ::tensorflow::Input strides,
  ::tensorflow::Input value
)

StridedSliceAssign

 StridedSliceAssign(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input ref,
  ::tensorflow::Input begin,
  ::tensorflow::Input end,
  ::tensorflow::Input strides,
  ::tensorflow::Input value,
  const StridedSliceAssign::Attrs & attrs
)

node

::tensorflow::Node * node() const 

operator::tensorflow::Input

operator::tensorflow::Input() const 

operator::tensorflow::Output

operator::tensorflow::Output() const 

Public static functions

BeginMask

Attrs BeginMask(
  int64 x
)

EllipsisMask

Attrs EllipsisMask(
  int64 x
)

EndMask

Attrs EndMask(
  int64 x
)

NewAxisMask

Attrs NewAxisMask(
  int64 x
)

ShrinkAxisMask

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