- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for _tfr_quant_raw_data (0.13 sec)
-
tensorflow/compiler/mlir/tfr/python/tfr_gen_test.py
y = _tfr_temp_op([x]) return y[0] #--- test fn for quant built-ins --- # pylint: disable=undefined-variable @composite.Composite('TestIdentityOp') def _tfr_quant_test(x): y = _tfr_quant_raw_data(x) s, z = _tfr_quant_qparam(x) s = _tfr_quant_scale_factor(1.0, [s, s]) s = _tfr_quant_scale_factor(1.0, [s]) y = math_ops.Sub(y, z) qmin, qmax = _tfr_quant_act_range('RELU', 1.0, 0)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 13 16:33:28 UTC 2021 - 28.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/python/tfr_gen.py
# When an item is callable, the signature is (*operand_types) -> result_type(s) TFR_BUILTINS = { '_tfr_quant_act_range': (TFRTypes.TENSOR, TFRTypes.TENSOR), '_tfr_quant_rescale': TFRTypes.TENSOR, '_tfr_quant_raw_data': lambda input_type: input_type, '_tfr_quant_qparam': (TFRTypes.TENSOR, TFRTypes.TENSOR), '_tfr_quant_scale_factor': TFRTypes.TENSOR, } class TFRTypeResolver(type_inference.Resolver):
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 27 15:27:03 UTC 2022 - 55.8K bytes - Viewed (0)