tensorflow::ops::Cast
#include <math_ops.h>Konversikan x bertipe SrcT ke y bertipe DstT.
Ringkasan
Argumen:
- Cakupan: Objek Cakupan
Mengembalikan:
-
Output: Tensor y.
Konstruktor dan Destruktor | |
|---|---|
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) | |
Struktur | |
|---|---|
| tensorflow::ops::Cast::Attrs | Pengatur 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::Output
operator::tensorflow::Output() const
Fungsi statis publik
Memotong
Attrs Truncate( bool x )