dòng chảy :: ops :: DecodeRaw
#include <parsing_ops.h>
Diễn giải lại các byte của một chuỗi dưới dạng một vectơ số.
Tóm lược
Tranh luận:
Các thuộc tính tùy chọn (xem Phần Attrs
):
- little_endian: Các
bytes
đầu vào có theo thứ tự nhỏ-endian hay không. Bỏ qua các giá trịout_type
được lưu trữ trong một byte đơn nhưuint8
.
Lợi nhuận:
-
Output
: Một Tensor có nhiều thứ nguyên hơnbytes
đầu vào. Kích thước được thêm vào sẽ có kích thước bằng chiều dài của các phần tửbytes
chia cho số byte để đại diện choout_type
.
Người xây dựng và Người phá 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 cộng | |
---|---|
operation | |
output |
Chức năng công cộng | |
---|---|
node () const | ::tensorflow::Node * |
operator::tensorflow::Input () const | |
operator::tensorflow::Output () const |
Chức năng tĩnh công khai | |
---|---|
LittleEndian (bool x) |
Cấu trúc | |
---|---|
tensorflow :: ops :: DecodeRaw :: Attrs | Bộ thiết lập thuộc tính tùy chọn cho DecodeRaw . |
Thuộc tính công cộng
hoạt động
Operation operation
đầu ra
::tensorflow::Output output
Chức năng công cộng
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 )
nút
::tensorflow::Node * node() const
toán tử :: tensorflow :: Đầu vào
operator::tensorflow::Input() const
toán tử :: tensorflow :: Đầu ra
operator::tensorflow::Output() const
Chức năng tĩnh công khai
LittleEndian
Attrs LittleEndian( bool x )