tensorflow::ops::DataFormatDimMap::Attrs
#include <nn_ops.h>Các phương thức thiết lập thuộc tính tùy chọn cho DataFormatDimMap .
Bản tóm tắt
Thuộc tính công khai | |
|---|---|
dst_format_ = "NCHW" | StringPiece |
src_format_ = "NHWC" | StringPiece |
Chức năng công cộng | |
|---|---|
DstFormat (StringPiece x) | TF_MUST_USE_RESULT Attrs Định dạng dữ liệu đích. |
SrcFormat (StringPiece x) | TF_MUST_USE_RESULT Attrs Định dạng dữ liệu nguồn. |
Thuộc tính công khai
dst_format_
StringPiece tensorflow::ops::DataFormatDimMap::Attrs::dst_format_ = "NCHW"
src_format_
StringPiece tensorflow::ops::DataFormatDimMap::Attrs::src_format_ = "NHWC"
Chức năng công cộng
Định dạng Dst
TF_MUST_USE_RESULT Attrs tensorflow::ops::DataFormatDimMap::Attrs::DstFormat( StringPiece x )
Định dạng dữ liệu đích.
Mặc định là "NCHW"
Định dạng nguồn
TF_MUST_USE_RESULT Attrs tensorflow::ops::DataFormatDimMap::Attrs::SrcFormat( StringPiece x )
Định dạng dữ liệu nguồn.
Mặc định là "NHWC"