Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for _tfr_quant_test (0.33 sec)

  1. tensorflow/compiler/mlir/tfr/python/tfr_gen_test.py

    def _tfr_temp_use_op(x):
      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)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 13 16:33:28 UTC 2021
    - 28.8K bytes
    - Viewed (0)
Back to top