tensorflow :: ops :: QuantizedConv2D
#include <nn_ops.h>
量子化された4D入力とフィルターテンソルが与えられた場合の2D畳み込みを計算します。
概要
入力は量子化テンソルであり、最小値は関連する最小値の実数を表し、最大値は最大値を表します。これは、返された最小値と最大値を考慮に入れることによってのみ、量子化された出力を同じ方法で解釈できることを意味します。
引数:
- スコープ:スコープオブジェクト
- フィルタ:フィルタのinput_depthディメンションは、入力の深度ディメンションと一致する必要があります。
- min_input:最小の量子化された入力値が表すfloat値。
- max_input:量子化された最大の入力値が表す浮動小数点値。
- min_filter:最小の量子化フィルター値が表すfloat値。
- max_filter:最大の量子化フィルター値が表すfloat値。
- ストライド:入力テンソルの各次元のスライディングウィンドウのストライド。
- パディング:使用するパディングアルゴリズムのタイプ。
オプションの属性(参照Attrs
):
- 膨張:長さ4の1-Dテンソル。
input
各次元の膨張係数。 k> 1に設定すると、その次元の各フィルター要素の間にk-1個のスキップされたセルがあります。次元の順序は、data_format
の値によって決定されます。詳細については、上記を参照してください。バッチおよび深さ寸法の膨張は1でなければなりません。
戻り値:
コンストラクタとデストラクタ | |
---|---|
QuantizedConv2D (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter, :: tensorflow::Input min_input, :: tensorflow::Input max_input, :: tensorflow::Input min_filter, :: tensorflow::Input max_filter, const gtl::ArraySlice< int > & strides, StringPiece padding) | |
QuantizedConv2D (const :: tensorflow::Scope & scope, :: tensorflow::Input input, :: tensorflow::Input filter, :: tensorflow::Input min_input, :: tensorflow::Input max_input, :: tensorflow::Input min_filter, :: tensorflow::Input max_filter, const gtl::ArraySlice< int > & strides, StringPiece padding, const QuantizedConv2D::Attrs & attrs) |
パブリック属性 | |
---|---|
max_output | |
min_output | |
operation | |
output |
パブリック静的関数 | |
---|---|
Dilations (const gtl::ArraySlice< int > & x) | |
OutType (DataType x) |
構造体 | |
---|---|
tensorflow :: ops :: QuantizedConv2D :: Attrs | QuantizedConv2Dのオプションの属性セッター。 |
パブリック属性
max_output
::tensorflow::Output max_output
min_output
::tensorflow::Output min_output
操作
Operation operation
出力
::tensorflow::Output output
公の行事
QuantizedConv2D
QuantizedConv2D( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input filter, ::tensorflow::Input min_input, ::tensorflow::Input max_input, ::tensorflow::Input min_filter, ::tensorflow::Input max_filter, const gtl::ArraySlice< int > & strides, StringPiece padding )
QuantizedConv2D
QuantizedConv2D( const ::tensorflow::Scope & scope, ::tensorflow::Input input, ::tensorflow::Input filter, ::tensorflow::Input min_input, ::tensorflow::Input max_input, ::tensorflow::Input min_filter, ::tensorflow::Input max_filter, const gtl::ArraySlice< int > & strides, StringPiece padding, const QuantizedConv2D::Attrs & attrs )
パブリック静的関数
膨張
Attrs Dilations( const gtl::ArraySlice< int > & x )
OutType
Attrs OutType( DataType x )