tensorflow :: ops :: Pemeran

#include <math_ops.h>

Transmisikan x tipe SrcT ke y dari DstT.

Ringkasan

Argumen:

Pengembalian:

Pembuat dan Penghancur

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

Atribut publik

operation
y

Fungsi publik

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

Fungsi statis publik

Truncate (bool x)

Structs

tensorflow :: ops :: Cast :: Attrs

Penyetel atribut opsional untuk Cast .

Atribut publik

operasi

Operation operation

y

::tensorflow::Output y

Fungsi publik

Pemeran

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

Pemeran

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

simpul

::tensorflow::Node * node() const 

operator :: tensorflow :: Input

 operator::tensorflow::Input() const 

operator :: tensorflow :: Keluaran

 operator::tensorflow::Output() const 

Fungsi statis publik

Memotong

Attrs Truncate(
  bool x
)