Output


tensorflow C++ API

tensorflow::Output

Represents a tensor value produced by an Operation.


Public functions

Output

Output()=default

Output

 Output(
  Node *n
)

Output

 Output(
  Node *n,
  int32 index
)

Output

 Output(
  const Operation & op,
  int32 index
)

hash

uint64 hash() const

index

int32 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

Output block

Source link :https://github.com/EXPNUNI/enuSpaceTensorflow/blob/master/enuSpaceTensorflow/tf_core.cpp

Argument:

  • Output output: concatenate the output or operation values.
  • int32 index: default value is 0. When the operation value is connected to the output pin.

Output:

  • Output output: return output type of tensor

UsingMethod

※ Add 블럭의 output을 Output블럭으로 받아서 clientsession에 넘겨주고, 결과값을 받은 화면

※ Add블럭의 output을 operation에 연결한뒤 다시 output 블럭에 연결하여 ClientSession에 연결하여 실행한 화면

results matching ""

    No results matching ""