tensorflow:: การดำเนินการ

#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 

จำนวนอินพุต

int32 num_inputs() const 

จำนวนเอาต์พุต

int32 num_outputs() const 

ตัวดำเนินการ ==

bool operator==(
  const Operation & other
) const 

เอาต์พุต

Output output(
  int32 i
) const 

ประเภทเอาต์พุต

DataType output_type(
  int32 o
) const