tensorflow:: ops:: ImmutableConst
#include <array_ops.h>Zwraca niezmienny tensor z obszaru pamięci.
Streszczenie
Obecna implementacja mapuje tensor z pliku.
Argumenty:
- zakres: obiekt zakresu
- dtype: Typ zwróconego tensora.
- kształt: Kształt zwróconego tensora.
- memory_region_name: Nazwa obszaru pamięci tylko do odczytu używanego przez tensor, patrz NewReadOnlyMemoryRegionFromFile w tensorflow::Env.
Zwroty:
-
Output: tensor tensor.
Konstruktory i destruktory | |
|---|---|
ImmutableConst (const :: tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape, StringPiece memory_region_name) |
Atrybuty publiczne | |
|---|---|
operation | |
tensor | |
Funkcje publiczne | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Atrybuty publiczne
działanie
Operation operation
napinacz
::tensorflow::Output tensor
Funkcje publiczne
Niezmienna stała
ImmutableConst( const ::tensorflow::Scope & scope, DataType dtype, PartialTensorShape shape, StringPiece memory_region_name )
węzeł
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const