tf.raw_ops.QuantizedConv2DWithBiasSumAndReluAndRequantize
tf.raw_ops.QuantizedConv2DWithBiasSumAndReluAndRequantize(
input,
filter,
bias,
min_input,
max_input,
min_filter,
max_filter,
min_freezed_output,
max_freezed_output,
summand,
min_summand,
max_summand,
strides,
padding,
out_type=tf.dtypes.quint8,
dilations=[1, 1, 1, 1],
padding_list=[],
name=None
)
| Аргументы |
input | Объект типа Tensor. Должен иметь один из следующих типов: qint8, quint8, qint32, qint16, quint16. |
filter | Объект типа Tensor. Должен иметь один из следующих типов: qint8, quint8, qint32, qint16, quint16. |
bias | Объект типа Tensor. Должен иметь один из следующих типов: float32, qint32. |
min_input | Объект типа Tensor типа float32. |
max_input | Объект типа Tensor типа float32. |
min_filter | Объект типа Tensor типа float32. |
max_filter | Объект типа Tensor типа float32. |
min_freezed_output | Объект типа Tensor типа float32. |
max_freezed_output | Объект типа Tensor типа float32. |
summand | Объект типа Tensor. Должен иметь один из следующих типов: qint8, quint8, qint32, qint16, quint16. |
min_summand | Объект типа Tensor типа float32. |
max_summand | Объект типа Tensor типа float32. |
strides | Список объектов ints. |
padding | Объект типа string из: "SAME", "VALID". |
out_type | Необязательный tf.DType из: tf.qint8, tf.quint8, tf.qint32, tf.qint16, tf.quint16. По умолчанию используется tf.quint8. |
dilations | Необязательный список объектов ints. По умолчанию используется [1, 1, 1, 1]. |
padding_list | Необязательный список объектов ints. По умолчанию используется []. |
name | Имя операции (необязательно). |
| Возвращаемые значения |
Кортеж из объектов Tensor (output, min_output, max_output). |
output | Объект типа Tensor типа out_type. |
min_output | Объект типа Tensor типа float32. |
max_output | Объект типа Tensor типа float32. |