tensorflow::Operation

#include <ops.h>

Represents a node in the computation graph.

Summary

Constructors and Destructors

Operation()
Operation(Node *n)

Public functions

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

Public functions

Operation

 Operation()

Operation

 Operation(
  Node *n
)

hash

uint64 hash(
  int32_t index
) const 

input

Output input(
  int32_t i
) const 

input_type

DataType input_type(
  int32_t o
) const 

node

Node * node() const 

num_inputs

int32 num_inputs() const 

num_outputs

int32 num_outputs() const 

operator==

bool operator==(
  const Operation & other
) const 

output

Output output(
  int32_t i
) const 

output_type

DataType output_type(
  int32_t o
) const