Const Op

Summary

Functions

AsNodeOut(const Scope & scope, const Input & inp)
NodeBuilder::NodeOut
AsNodeOutList(const Scope & scope, const InputList & inp)
std::vector< NodeBuilder::NodeOut >
Const(const Scope & scope, const Input::Initializer & val)
Output
Const(const Scope & scope, const T & v, const TensorShape shape)
Output
Const(const Scope & scope, const std::initializer_list< T > & v, const TensorShape shape)
Output
ConstFromProto(const Scope & scope, const TensorProto & proto)
Output

Functions

AsNodeOut

NodeBuilder::NodeOut AsNodeOut(
  const Scope & scope,
  const Input & inp
)

AsNodeOutList

std::vector< NodeBuilder::NodeOut > AsNodeOutList(
  const Scope & scope,
  const InputList & inp
)

Const

Output Const(
  const Scope & scope,
  const Input::Initializer & val
)

Const

Output Const(
  const Scope & scope,
  const T & v,
  const TensorShape shape
)

Const

Output Const(
  const Scope & scope,
  const std::initializer_list< T > & v,
  const TensorShape shape
)

ConstFromProto

Output ConstFromProto(
  const Scope & scope,
  const TensorProto & proto
)