Home
last modified time | relevance | path

Searched refs:is_symmetric (Results 1 – 12 of 12) sorted by relevance

/aosp_15_r20/external/executorch/backends/mediatek/quantizer/
H A Dqconfig.py66 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 DOnednnUtils.h397 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 Dadaround_fake_quantize.py50 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 Dcommon_quantized.py71 is_symmetric = (qscheme == torch.per_tensor_symmetric)
76 if is_symmetric:
/aosp_15_r20/external/pytorch/torch/csrc/jit/passes/quantization/
H A Dquantization_patterns.h200 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 DClPool3dKernel.cpp69 …_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 Dpass.cc2452 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 Dconstant_folding.cc3371 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 Dcrypto.rs178 pub fn is_symmetric(&self) -> bool { in is_symmetric() method
/aosp_15_r20/external/ComputeLibrary/arm_compute/core/
H A DUtils.h926 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/
Dsymmetric.hpp26 bool is_symmetric (const M &m) { in is_symmetric() function
/aosp_15_r20/external/cronet/net/cookies/
H A Dcanonical_cookie_unittest.cc1178 bool is_symmetric; // Whether the reverse comparison has the same result. in TEST() member
1238 EXPECT_EQ(test.equivalent == test.is_symmetric, in TEST()