#include <ops.h>
Represents a node in the computation graph.
Constructors and Destructors | |
---|---|
Operation() | |
Operation(Node *n) |
Public functions | |
---|---|
hash(int32_t index) const | uint64 |
input(int32_t i) const | |
input_type(int32_t o) const | DataType |
node() const | Node * |
num_inputs() const | int32 |
num_outputs() const | int32 |
operator==(const Operation & other) const | bool |
output(int32_t i) const | |
output_type(int32_t o) const | DataType |
Operation()
Operation( Node *n )
uint64 hash( int32_t index ) const
Output input( int32_t i ) const
DataType input_type( int32_t o ) const
Node * node() const
int32 num_inputs() const
int32 num_outputs() const
bool operator==( const Operation & other ) const
Output output( int32_t i ) const
DataType output_type( int32_t o ) const
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.9/api_docs/cc/class/tensorflow/operation