tensorflow::ops::DecodeRaw
#include <parsing_ops.h>Diễn giải lại các byte của một chuỗi ký tự thành một vectơ các số.
Bản tóm tắt
Luận điểm:
Các thuộc tính tùy chọn (xem Attrs ):
- little_endian: Cho biết
bytesđầu vào có được sắp xếp theo thứ tự little-endian hay không. Bỏ qua đối với các giá trịout_typeđược lưu trữ trong một byte duy nhất nhưuint8.
Trả về:
-
Output: Một Tensor có số chiều nhiều hơn sốbytesđầu vào một chiều. Chiều được thêm vào sẽ có kích thước bằng độ dài của các phần tửbyteschia cho số byte để biểu diễnout_type.
Hàm khởi tạo và hàm hủy | |
|---|---|
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) |
Thuộc tính công khai | |
|---|---|
operation | |
output | |
Chức năng công cộng | |
|---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const | |
Các hàm tĩnh công khai | |
|---|---|
LittleEndian (bool x) | |
Cấu trúc | |
|---|---|
| tensorflow::ops::DecodeRaw::Attrs | Các thiết lập thuộc tính tùy chọn cho DecodeRaw . |
Thuộc tính công khai
hoạt động
Operation operation
đầu ra
::tensorflow::Output output
Chức năng công cộng
Giải mã dữ liệu thô
DecodeRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input bytes, DataType out_type )
Giải mã dữ liệu thô
DecodeRaw( const ::tensorflow::Scope & scope, ::tensorflow::Input bytes, DataType out_type, const DecodeRaw::Attrs & attrs )
nút
::tensorflow::Node * node() const
operator::tensorflow::Input
operator::tensorflow::Input() const
operator::tensorflow::Output
operator::tensorflow::Output() const
Các hàm tĩnh công khai
LittleEndian
Attrs LittleEndian( bool x )