Searched refs:lhs_zp (Results 1 – 4 of 4) sorted by relevance
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/tests/python/contrib/test_ethosn/ |
H A D | test_addition.py | 27 def _get_model(input_shape, lhs_zp, lhs_sc, rhs_zp, rhs_sc, out_zp, out_sc, dtype): argument 36 lhs_zero_point=relay.const(lhs_zp, "int32"), 69 for shape, rhs_zp, rhs_sc, lhs_zp, lhs_sc in trials: 75 out_zp, out_sc = _get_addition_qnn_params(lhs_zp, lhs_sc, rhs_zp, rhs_sc) 76 model = _get_model(shape, lhs_zp, lhs_sc, rhs_zp, rhs_sc, out_zp, out_sc, "uint8") 113 for shape, dtype, lhs_zp, lhs_sc, rhs_zp, rhs_sc, out_zp, out_sc, err_msg in trials: 114 model = _get_model(shape, lhs_zp, lhs_sc, rhs_zp, rhs_sc, out_zp, out_sc, dtype)
|
/dports/misc/py-tvm/incubator-tvm-0.6.1/src/relay/qnn/op/ |
H A D | mul.cc | 79 auto lhs_zp = MakeConstantScalar(Int(32), lhs_zero_point); in QnnMulCanonicalize() local 80 lhs_shifted = Subtract(lhs_shifted, lhs_zp); in QnnMulCanonicalize()
|
/dports/misc/tvm/incubator-tvm-0.6.1/src/relay/qnn/op/ |
H A D | mul.cc | 79 auto lhs_zp = MakeConstantScalar(Int(32), lhs_zero_point); in QnnMulCanonicalize() local 80 lhs_shifted = Subtract(lhs_shifted, lhs_zp); in QnnMulCanonicalize()
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/tests/python/relay/ |
H A D | test_op_qnn_subtract.py | 31 lhs_zp = relay.const(scale_and_zp["lhs_zp"], "int32") 40 lhs_zero_point=lhs_zp,
|