tensorflow:: ops:: Cast

#include <math_ops.h>

SrcT型のxをDstT型のyにキャストします。

まとめ

議論:

返品:

コンストラクターとデストラクタ

Cast (const :: tensorflow::Scope & scope, :: tensorflow::Input x, DataType DstT)
Cast (const :: tensorflow::Scope & scope, :: tensorflow::Input x, DataType DstT, const Cast::Attrs & attrs)

公開属性

operation
y

公的機能

node () const
::tensorflow::Node *
operator::tensorflow::Input () const
operator::tensorflow::Output () const

パブリック静的関数

Truncate (bool x)

構造

tensorflow:: ops:: Cast:: Attrs

Castのオプション属性セッター。

公開属性

手術

Operation operation

y

::tensorflow::Output y

公的機能

キャスト

 Cast(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  DataType DstT
)

キャスト

 Cast(
  const ::tensorflow::Scope & scope,
  ::tensorflow::Input x,
  DataType DstT,
  const Cast::Attrs & attrs
)

ノード

::tensorflow::Node * node() const 

operator::tensorflow::Input

 operator::tensorflow::Input() const 

operator::tensorflow::Output

 operator::tensorflow::Output() const 

パブリック静的関数

切り詰める

Attrs Truncate(
  bool x
)