टेंसरफ़्लो:: संचालन

#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