tensorflow::ops::StridedSliceGrad

#include <array_ops.h>

Returns the gradient of StridedSlice.

Summary

Since StridedSlice cuts out pieces of its input which is size shape, its gradient will have the same shape (which is passed here as shape). The gradient will be zero in any element that the slice does not select.

Arguments are the same as StridedSliceGrad with the exception that dy is the input gradient to be propagated and shape is the shape of StridedSlice's input.

Arguments:

Returns:

Constructors and Destructors

StridedSliceGrad(const ::tensorflow::Scope & scope, ::tensorflow::Input shape, ::tensorflow::Input begin, ::tensorflow::Input end, ::tensorflow::Input strides, ::tensorflow::Input dy)
StridedSliceGrad(const ::tensorflow::Scope & scope, ::tensorflow::Input shape, ::tensorflow::Input begin, ::tensorflow::Input end, ::tensorflow::Input strides, ::tensorflow::Input dy, const StridedSliceGrad::Attrs & attrs)

Public attributes

operation
output

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::StridedSliceGrad::Attrs

Optional attribute setters for StridedSliceGrad.

Public attributes

operation

Operation operation

output

::tensorflow::Output output

Public functions

StridedSliceGrad

 StridedSliceGrad(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input shape,
  ::tensorflow::Input begin,
  ::tensorflow::Input end,
  ::tensorflow::Input strides,
  ::tensorflow::Input dy
)

StridedSliceGrad

 StridedSliceGrad(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input shape,
  ::tensorflow::Input begin,
  ::tensorflow::Input end,
  ::tensorflow::Input strides,
  ::tensorflow::Input dy,
  const StridedSliceGrad::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
)