tensorflow :: ops :: Kosong
#include <array_ops.h>
Membuat tensor dengan bentuk tertentu.
Ringkasan
Operasi ini membuat tensor shape
dan dtype
.
Argumen:
- scope: Objek Scope
- Bentuk: 1-D. Merupakan bentuk tensor keluaran.
Atribut opsional (lihat Attrs
):
- init: Jika True, inisialisasi tensor yang dikembalikan dengan nilai default dtype. Jika tidak, penerapannya gratis untuk tidak menginisialisasi konten tensor.
Pengembalian:
Pembuat dan Penghancur | |
---|---|
Empty (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype) | |
Empty (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype, const Empty::Attrs & attrs) |
Atribut publik | |
---|---|
operation | |
output |
Fungsi publik | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Fungsi statis publik | |
---|---|
Init (bool x) |
Structs | |
---|---|
tensorflow :: ops :: Kosong :: Attrs | Penyetel atribut opsional untuk Empty . |
Atribut publik
operasi
Operation operation
keluaran
::tensorflow::Output output
Fungsi publik
Kosong
Empty( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype )
Kosong
Empty( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype, const Empty::Attrs & attrs )
simpul
::tensorflow::Node * node() const
operator :: tensorflow :: Input
operator::tensorflow::Input() const
operator :: tensorflow :: Keluaran
operator::tensorflow::Output() const
Fungsi statis publik
Init
Attrs Init( bool x )