Searched refs:is_symmetric (Results 1 – 12 of 12) sorted by relevance
/aosp_15_r20/external/executorch/backends/mediatek/quantizer/ |
H A D | qconfig.py | 66 is_symmetric, argument 78 qscheme = torch.per_tensor_symmetric if is_symmetric else torch.per_tensor_affine 94 dtype, is_symmetric, is_per_channel, is_qat, quant_min=None, quant_max=None argument 98 dtype, is_symmetric, is_qat, observer_cls=MinMaxObserver 107 qscheme = torch.per_channel_symmetric if is_symmetric else torch.per_channel_affine
|
/aosp_15_r20/external/pytorch/aten/src/ATen/native/quantized/cpu/ |
H A D | OnednnUtils.h | 397 bool is_symmetric = true; in is_weight_symmetric_quant() local 400 is_symmetric &= (weight.q_zero_point() == 0); in is_weight_symmetric_quant() 405 is_symmetric = false; in is_weight_symmetric_quant() 410 is_symmetric &= (zp == 0); in is_weight_symmetric_quant() 416 is_symmetric = false; in is_weight_symmetric_quant() 418 return is_symmetric; in is_weight_symmetric_quant()
|
/aosp_15_r20/external/pytorch/torch/ao/quantization/experimental/ |
H A D | adaround_fake_quantize.py | 50 self.is_symmetric: bool = _is_symmetric_quant(qscheme) 51 assert self.is_symmetric, "Only symmetric quantization is supported" 99 if not self.is_symmetric:
|
/aosp_15_r20/external/pytorch/torch/testing/_internal/ |
H A D | common_quantized.py | 71 is_symmetric = (qscheme == torch.per_tensor_symmetric) 76 if is_symmetric:
|
/aosp_15_r20/external/pytorch/torch/csrc/jit/passes/quantization/ |
H A D | quantization_patterns.h | 200 bool is_symmetric) { in getFixedQParamOpFusionInfo() argument 224 is_symmetric ? sym_fixed_qparam_op_suffix : asym_fixed_qparam_op_suffix; in getFixedQParamOpFusionInfo()
|
/aosp_15_r20/external/ComputeLibrary/src/gpu/cl/kernels/ |
H A D | ClPool3dKernel.cpp | 69 …_padding = (pool_info.round_type == DimensionRoundingType::CEIL) && (!is_symmetric(pool_info.paddi… in validate_arguments()
|
/aosp_15_r20/external/tensorflow/tensorflow/core/transforms/constant_folding/ |
H A D | pass.cc | 2452 const bool is_symmetric = is_add || is_mul; in matchAndRewrite() local 2489 if (!(is_symmetric && is_child_symmetric) && in matchAndRewrite() 2548 if (is_symmetric && is_child_symmetric) { in matchAndRewrite() 2583 bool child_negated = !is_symmetric && left_child_is_const; in matchAndRewrite() 2589 bool neg_c = !is_symmetric && !left_child_is_const; in matchAndRewrite()
|
/aosp_15_r20/external/tensorflow/tensorflow/core/grappler/optimizers/ |
H A D | constant_folding.cc | 3371 const bool is_symmetric = is_add || is_mul; in ConstantPushDown() local 3393 if (!(is_symmetric && is_child_symmetric) && in ConstantPushDown() 3445 if (is_symmetric && is_child_symmetric) { in ConstantPushDown() 3476 bool child_negated = !is_symmetric && (ctx.left_child_is_const); in ConstantPushDown() 3481 bool neg_c = !is_symmetric && !ctx.left_child_is_const; in ConstantPushDown()
|
/aosp_15_r20/system/keymint/common/src/ |
H A D | crypto.rs | 178 pub fn is_symmetric(&self) -> bool { in is_symmetric() method
|
/aosp_15_r20/external/ComputeLibrary/arm_compute/core/ |
H A D | Utils.h | 926 inline bool is_symmetric(const Padding3D& info) in is_symmetric() function
|
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/numeric/ublas/include/boost/numeric/ublas/ |
D | symmetric.hpp | 26 bool is_symmetric (const M &m) { in is_symmetric() function
|
/aosp_15_r20/external/cronet/net/cookies/ |
H A D | canonical_cookie_unittest.cc | 1178 bool is_symmetric; // Whether the reverse comparison has the same result. in TEST() member 1238 EXPECT_EQ(test.equivalent == test.is_symmetric, in TEST()
|