tf.raw_ops.QuantizedDepthwiseConv2DWithBiasAndReluAndRequantize
Computes quantized depthwise Conv2D with Bias, Relu and Requantize.
tf.raw_ops.QuantizedDepthwiseConv2DWithBiasAndReluAndRequantize(
input,
filter,
bias,
min_input,
max_input,
min_filter,
max_filter,
min_freezed_output,
max_freezed_output,
strides,
padding,
out_type=tf.dtypes.quint8
,
dilations=[1, 1, 1, 1],
padding_list=[],
name=None
)
Args |
input
|
A Tensor . Must be one of the following types: qint8 , quint8 , qint32 , qint16 , quint16 .
The original input tensor.
|
filter
|
A Tensor . Must be one of the following types: qint8 , quint8 , qint32 , qint16 , quint16 .
The original filter tensor.
|
bias
|
A Tensor . Must be one of the following types: float32 , qint32 .
The original bias tensor.
|
min_input
|
A Tensor of type float32 .
The float value that the minimum quantized input value represents.
|
max_input
|
A Tensor of type float32 .
The float value that the maximum quantized input value represents.
|
min_filter
|
A Tensor of type float32 .
The float value that the minimum quantized filter value represents.
|
max_filter
|
A Tensor of type float32 .
The float value that the maximum quantized filter value represents.
|
min_freezed_output
|
A Tensor of type float32 .
The minimum float value of the output tensor.
|
max_freezed_output
|
A Tensor of type float32 .
The maximum float value of the output tensor.
|
strides
|
A list of ints . List of stride values.
|
padding
|
A string from: "SAME", "VALID" .
|
out_type
|
An optional tf.DType from: tf.qint8, tf.quint8, tf.qint32, tf.qint16, tf.quint16 . Defaults to tf.quint8 .
The type of the output.
|
dilations
|
An optional list of ints . Defaults to [1, 1, 1, 1] .
List of dilation values.
|
padding_list
|
An optional list of ints . Defaults to [] .
|
name
|
A name for the operation (optional).
|
Returns |
A tuple of Tensor objects (output, min_output, max_output).
|
output
|
A Tensor of type out_type .
|
min_output
|
A Tensor of type float32 .
|
max_output
|
A Tensor of type float32 .
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2024-01-23 UTC.
[null,null,["Last updated 2024-01-23 UTC."],[],[]]