tensorflow::Operation
#include <ops.h>
Представляет узел в вычислительном графе.
Краткое описание
| Конструкторы и деструкторы | |
|---|---|
Operation() | |
Operation(Node *n) |
| Публичные функции | |
|---|---|
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()
Operation
Operation( Node *n )
hash
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