тензорный поток:: Операция

#include <ops.h>

Представляет узел в графе вычислений.

Краткое содержание

Конструкторы и деструкторы

Operation ()
Operation (Node *n)

Общественные функции

hash (int32 index) const
uint64
input (int32 i) const
input_type (int32 o) const
DataType
node () const
Node *
num_inputs () const
int32
num_outputs () const
int32
operator== (const Operation & other) const
bool
output (int32 i) const
output_type (int32 o) const
DataType

Общественные функции

Операция

 Operation()

Операция

 Operation(
  Node *n
)

хэш

uint64 hash(
  int32 index
) const 

вход

Output input(
  int32 i
) const 

тип ввода

DataType input_type(
  int32 o
) const 

узел

Node * node() const 

num_inputs

int32 num_inputs() const 

num_outputs

int32 num_outputs() const 

оператор==

bool operator==(
  const Operation & other
) const 

выход

Output output(
  int32 i
) const 

выходной_тип

DataType output_type(
  int32 o
) const