flux tensoriel : : Opération

#include <ops.h>

Représente un nœud dans le graphe de calcul.

Résumé

Constructeurs et Destructeurs

Operation ()
Operation (Node *n)

Fonctions publiques

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

Fonctions publiques

Opération

 Operation()

Opération

 Operation(
  Node *n
)

hacher

uint64 hash(
  int32 index
) const 

saisir

Output input(
  int32 i
) const 

type d'entrée

DataType input_type(
  int32 o
) const 

nœud

Node * node() const 

num_entrées

int32 num_inputs() const 

num_sorties

int32 num_outputs() const 

opérateur==

bool operator==(
  const Operation & other
) const 

sortir

Output output(
  int32 i
) const 

le type de sortie

DataType output_type(
  int32 o
) const