tensorflow::ops::DecodeRaw
#include <parsing_ops.h>Преобразуйте байты строки в вектор чисел.
Краткое содержание
Аргументы:
Дополнительные атрибуты (см. Attrs ):
- little_endian: Указывает, находятся ли входные
bytesв порядке little-endian. Игнорируется для значенийout_type, хранящихся в одном байте, например,uint8.
Возвращает:
-
Output: Тензор с одним измерением больше, чем входныеbytes. Размер добавленного измерения будет равен длине элементов вbytes, деленному на количество байтов, представляющихout_type.
Конструкторы и Деструкторы | |
|---|---|
DecodeRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input bytes, DataType out_type) | |
DecodeRaw (const :: tensorflow::Scope & scope, :: tensorflow::Input bytes, DataType out_type, const DecodeRaw::Attrs & attrs) |
Общедоступные атрибуты | |
|---|---|
operation | |
output | |
Общественные функции | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Открытые статические функции | |
|---|---|
LittleEndian (bool x) | |
Структуры | |
|---|---|
| tensorflow::ops::DecodeRaw::Attrs | Дополнительные параметры установки атрибутов для DecodeRaw . |
Общедоступные атрибуты
операция
Operation operation
выход
::tensorflow::Output output
Общественные функции
DecodeRaw
DecodeRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input bytes, DataType out_type )
DecodeRaw
DecodeRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input bytes, DataType out_type, const DecodeRaw::Attrs & attrs )
узел
::tensorflow::Node * node() const
оператор::tensorflow::Input
operator::tensorflow::Input() const
оператор::tensorflow::Output
operator::tensorflow::Output() const
Открытые статические функции
LittleEndian
Attrs LittleEndian( bool x )