#include <nn_ops.h>
Computes a 2D convolution given quantized 4D input and filter tensors.
The inputs are quantized tensors where the lowest value represents the real number of the associated minimum, and the highest represents the maximum. This means that you can only interpret the quantized output in the same way, by taking the returned minimum and maximum values into account.
Arguments:
Returns:
Output
outputOutput
min_output: The float value that the lowest quantized output value represents.Output
max_output: The float value that the highest quantized output value represents. Constructors and Destructors | |
---|---|
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) |
Public attributes | |
---|---|
max_output | |
min_output | |
output |
Public static functions | |
---|---|
OutType(DataType x) |
Structs | |
---|---|
tensorflow::ops::QuantizedConv2D::Attrs | Optional attribute setters for QuantizedConv2D. |
::tensorflow::Output max_output
::tensorflow::Output min_output
::tensorflow::Output output
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 )
Attrs OutType( DataType x )
© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/quantized-conv2-d.html