W3cubDocs

/TensorFlow C++

tensorflow::Output

#include <ops.h>

Represents a tensor value produced by an Operation.

Summary

Constructors and Destructors
Output()
Output(Node *n)
Output(Node *n, int64 index)
Output(const Operation & op, int64 index)
Public functions
hash() const
uint64
index() const
int64
name() const
string
node() const
Node *
op() const
operator==(const Output & other) const
bool
type() const
DataType

Public functions

Output

Output()=default

Output

 Output(
  Node *n
)

Output

 Output(
  Node *n,
  int64 index
)

Output

 Output(
  const Operation & op,
  int64 index
)

hash

uint64 hash() const 

index

int64 index() const 

name

string name() const 

node

Node * node() const 

op

Operation op() const 

operator==

bool operator==(
  const Output & other
) const 

type

DataType type() 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/output.html