tensorflow:: Hoạt động

#include <ops.h>

Biểu thị một nút trong đồ thị tính toán.

Bản tóm tắt

Hàm khởi tạo và hàm hủy

Operation ()
Operation (Node *n)

Chức năng công cộng

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

Chức năng công cộng

Hoạt động

 Operation()

Hoạt động

 Operation(
  Node *n
)

băm

uint64 hash(
  int32 index
) const 

đầu vào

Output input(
  int32 i
) const 

loại đầu vào

DataType input_type(
  int32 o
) const 

nút

Node * node() const 

số lượng đầu vào

int32 num_inputs() const 

số lượng đầu ra

int32 num_outputs() const 

toán tử ==

bool operator==(
  const Operation & other
) const 

đầu ra

Output output(
  int32 i
) const 

loại đầu ra

DataType output_type(
  int32 o
) const