tf.quantization.fake_quant_with_min_max_args_gradient
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
Compute gradients for a FakeQuantWithMinMaxArgs operation.
tf.quantization.fake_quant_with_min_max_args_gradient(
gradients: Annotated[Any, _atypes.Float32],
inputs: Annotated[Any, _atypes.Float32],
min: float = -6,
max: float = 6,
num_bits: int = 8,
narrow_range: bool = False,
name=None
) -> Annotated[Any, _atypes.Float32]
Args |
gradients
|
A Tensor of type float32.
Backpropagated gradients above the FakeQuantWithMinMaxArgs operation.
|
inputs
|
A Tensor of type float32.
Values passed as inputs to the FakeQuantWithMinMaxArgs operation.
|
min
|
An optional float. Defaults to -6.
|
max
|
An optional float. Defaults to 6.
|
num_bits
|
An optional int. Defaults to 8.
|
narrow_range
|
An optional bool. Defaults to False.
|
name
|
A name for the operation (optional).
|
Returns |
A Tensor of type float32.
|
如未另行说明,则本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。如需了解详情,请参阅 Google Developers 网站政策。Java 是 Oracle 和/或其关联公司的注册商标。某些内容已根据 Numpy 许可获得了许可。
最后更新时间 (UTC):2024-04-26。
[null,null,["最后更新时间 (UTC):2024-04-26。"],[],[]]