#include <ops.h>
A type for representing the input to ops that require a list of tensors.
Constructors and Destructors | |
---|---|
InputList(const OutputList & out) Implicitly convert a list of outputs to a list of inputs. | |
InputList(const std::initializer_list< Input > & inputs) | |
InputList(const tensorflow::gtl::ArraySlice< Input > & inputs) | |
InputList(const std::initializer_list< Output > & out) |
Public functions | |
---|---|
begin() | std::vector< Input >::iterator |
begin() const | std::vector< Input >::const_iterator |
end() | std::vector< Input >::iterator |
end() const | std::vector< Input >::const_iterator |
InputList( const OutputList & out )
Implicitly convert a list of outputs to a list of inputs.
This is useful to write code such as ops::Concat(ops::Split(x, 4)).
InputList( const std::initializer_list< Input > & inputs )
InputList( const tensorflow::gtl::ArraySlice< Input > & inputs )
InputList( const std::initializer_list< Output > & out )
std::vector< Input >::iterator begin()
std::vector< Input >::const_iterator begin() const
std::vector< Input >::iterator end()
std::vector< Input >::const_iterator end() 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/input-list.html