#include <array_ops.h>
Return a slice from 'input'.
The output tensor is a tensor with dimensions described by 'size' whose values are extracted from 'input' starting at the offsets in 'begin'.
Requirements: 0 <= begin[i] <= begin[i] + size[i] <= Di for i in [0, n)
Arguments:
Returns:
Output
: The output tensor. Constructors and Destructors | |
---|---|
Slice(const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input begin, ::tensorflow::Input size) |
Public attributes | |
---|---|
output |
Public functions | |
---|---|
node() const | ::tensorflow::Node * |
operator::tensorflow::Input() const | |
operator::tensorflow::Output() const |
::tensorflow::Output output
Slice( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input begin, ::tensorflow::Input size )
::tensorflow::Node * node() const
operator::tensorflow::Input() const
operator::tensorflow::Output() const
© 2017 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/slice.html