tensorflow:: ops:: Pusty
#include <array_ops.h>Tworzy tensor o podanym kształcie.
Streszczenie
Operacja ta tworzy tensor shape i dtype .
Argumenty:
- zakres: obiekt zakresu
- kształt: 1-D. Reprezentuje kształt tensora wyjściowego.
Atrybuty opcjonalne (patrz Attrs ):
- init: Jeśli wartość True, zainicjuj zwrócony tensor domyślną wartością dtype. W przeciwnym razie implementacja może nie inicjalizować zawartości tensora.
Zwroty:
Konstruktory i destruktory | |
|---|---|
Empty (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype) | |
Empty (const :: tensorflow::Scope & scope, :: tensorflow::Input shape, DataType dtype, const Empty::Attrs & attrs) |
Atrybuty publiczne | |
|---|---|
operation | |
output | |
Funkcje publiczne | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Publiczne funkcje statyczne | |
|---|---|
Init (bool x) | |
Struktury | |
|---|---|
| tensorflow:: ops:: Puste:: Attrs | Opcjonalne settery atrybutów dla Empty . |
Atrybuty publiczne
działanie
Operation operation
wyjście
::tensorflow::Output output
Funkcje publiczne
Pusty
Empty( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype )
Pusty
Empty( const ::tensorflow::Scope & scope, ::tensorflow::Input shape, DataType dtype, const Empty::Attrs & attrs )
węzeł
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Publiczne funkcje statyczne
Inicjalizacja
Attrs Init( bool x )