Describes how a TensorIterator output is produced from the body. More...
#include <tensor_iterator.hpp>
Public Types | |
using | type_info_t = DiscreteTypeInfo |
Public Member Functions | |
virtual std::shared_ptr< OutputDescription > | copy () const =0 |
virtual bool | visit_attributes (AttributeVisitor &visitor) |
virtual const type_info_t & | get_type_info () const =0 |
Data Fields | |
uint64_t | m_body_value_index {0} |
uint64_t | m_output_index {0} |
Protected Member Functions | |
OutputDescription (uint64_t body_value_index, uint64_t output_index) | |
Constructs a new instance. More... | |
Describes how a TensorIterator output is produced from the body.
|
protected |
Constructs a new instance.
body_value_index | A body value that produces the output |
output_index | The TensorIterator output index |