W3cubDocs

/TensorFlow C++

tensorflow::Operation

#include <ops.h>

Represents a node in the computation graph.

Summary

Constructors and Destructors
Operation()
Operation(Node *n)
Public functions
hash(int64 index) const
uint64
input(int i) const
input_type(int o) const
DataType
node() const
Node *
num_inputs() const
int
num_outputs() const
int
operator==(const Operation & other) const
bool
output(int i) const
output_type(int o) const
DataType

Public functions

Operation

Operation()

Operation

 Operation(
  Node *n
)

hash

uint64 hash(
  int64 index
) const 

input

Output input(
  int i
) const 

input_type

DataType input_type(
  int o
) const 

node

Node * node() const 

num_inputs

int num_inputs() const 

num_outputs

int num_outputs() const 

operator==

bool operator==(
  const Operation & other
) const 

output

Output output(
  int i
) const 

output_type

DataType output_type(
  int o
) const 

© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/operation.html