/AliOS-Things-master/components/SDL2/src/video/khronos/vulkan/ |
A D | vulkan.hpp | 160 : m_mask(rhs.m_mask) in Flags() 171 m_mask = rhs.m_mask; in operator =() 177 m_mask |= rhs.m_mask; in operator |=() 183 m_mask &= rhs.m_mask; in operator &=() 189 m_mask ^= rhs.m_mask; in operator ^=() 196 result |= rhs; in operator |() 203 result &= rhs; in operator &() 210 result ^= rhs; in operator ^() 477 lhs.swap( rhs ); in swap() 5135 return ( x == rhs.x ) in operator ==() [all …]
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/example/ |
A D | example.cc | 29 ruy::Matrix<float> rhs; in ExampleMulFloat() local 31 rhs.set_data(rhs_data); in ExampleMulFloat() 41 std::cout << "RHS:\n" << rhs; in ExampleMulFloat() 54 ruy::Matrix<float> rhs; in ExampleMulFloatWithBiasAddAndClamp() local 56 rhs.set_data(rhs_data); in ExampleMulFloatWithBiasAddAndClamp() 69 std::cout << "RHS:\n" << rhs; in ExampleMulFloatWithBiasAddAndClamp() 84 rhs.set_data(rhs_data); in ExampleMulUint8AsymmetricQuantized() 85 rhs.set_zero_point(132); in ExampleMulUint8AsymmetricQuantized() 99 std::cout << "RHS:\n" << rhs; in ExampleMulUint8AsymmetricQuantized() 114 rhs.set_data(rhs_data); in ExampleMulInt8PerChannelQuantized() [all …]
|
/AliOS-Things-master/components/py_engine/engine/py/ |
A D | mpz.c | 1137 if (mpn_cmp(lhs->dig, lhs->len, rhs->dig, rhs->len) < 0) { in mpz_add_inpl() 1139 lhs = rhs; in mpz_add_inpl() 1160 if (mpn_cmp(lhs->dig, lhs->len, rhs->dig, rhs->len) < 0) { in mpz_sub_inpl() 1162 lhs = rhs; in mpz_sub_inpl() 1189 lhs = rhs; in mpz_and_inpl() 1202 lhs->neg == rhs->neg, 0 != lhs->neg, 0 != rhs->neg); in mpz_and_inpl() 1223 lhs = rhs; in mpz_or_inpl() 1244 (lhs->neg || rhs->neg), lhs->neg, rhs->neg); in mpz_or_inpl() 1257 lhs = rhs; in mpz_xor_inpl() 1282 (lhs->neg != rhs->neg), 0 == lhs->neg, 0 == rhs->neg); in mpz_xor_inpl() [all …]
|
A D | mpz.h | 124 int mpz_cmp(const mpz_t *lhs, const mpz_t *rhs); 129 void mpz_shl_inpl(mpz_t *dest, const mpz_t *lhs, mp_uint_t rhs); 130 void mpz_shr_inpl(mpz_t *dest, const mpz_t *lhs, mp_uint_t rhs); 131 void mpz_add_inpl(mpz_t *dest, const mpz_t *lhs, const mpz_t *rhs); 132 void mpz_sub_inpl(mpz_t *dest, const mpz_t *lhs, const mpz_t *rhs); 133 void mpz_mul_inpl(mpz_t *dest, const mpz_t *lhs, const mpz_t *rhs); 134 void mpz_pow_inpl(mpz_t *dest, const mpz_t *lhs, const mpz_t *rhs); 135 void mpz_pow3_inpl(mpz_t *dest, const mpz_t *lhs, const mpz_t *rhs, const mpz_t *mod); 136 void mpz_and_inpl(mpz_t *dest, const mpz_t *lhs, const mpz_t *rhs); 137 void mpz_or_inpl(mpz_t *dest, const mpz_t *lhs, const mpz_t *rhs); [all …]
|
/AliOS-Things-master/components/py_engine/tests/basics/ |
A D | class_staticclassmethod.py | 5 def f(rhs): argument 6 print('f', rhs) 8 def g(self, rhs): argument 9 print('g', rhs) 13 def __sub__(rhs): argument 14 print('sub', rhs) 17 def __add__(self, rhs): argument 18 print('add', rhs)
|
A D | class_notimpl.py | 16 def __add__(self, rhs): argument 17 print(self, '+', rhs) 20 def __sub__(self, rhs): argument 21 print(self, '-', rhs) 24 def __lt__(self, rhs): argument 25 print(self, '<', rhs)
|
A D | class_number.py | 7 def __add__(self, rhs): argument 8 print(self.value, '+', rhs) 10 def __sub__(self, rhs): argument 11 print(self.value, '-', rhs)
|
A D | int_big_mul.py | 2 for rhs in range(2, 11): 5 res = lhs * rhs 6 print(lhs, '*', rhs, '=', res)
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/ruy/ruy/ |
A D | check_macros_test.cc | 66 if (lhs == rhs) { in TestEqualityComparisons() 67 RUY_CHECK_EQ(lhs, rhs); in TestEqualityComparisons() 69 if (lhs != rhs) { in TestEqualityComparisons() 70 RUY_CHECK_NE(lhs, rhs); in TestEqualityComparisons() 77 if (lhs > rhs) { in TestComparisons() 78 RUY_CHECK_GT(lhs, rhs); in TestComparisons() 80 if (lhs >= rhs) { in TestComparisons() 81 RUY_CHECK_GE(lhs, rhs); in TestComparisons() 83 if (lhs < rhs) { in TestComparisons() 84 RUY_CHECK_LT(lhs, rhs); in TestComparisons() [all …]
|
A D | frontend.h | 48 const Mat<LhsScalar>& lhs, const Mat<RhsScalar>& rhs, in MulFrontEndUpToCreateTrMulParams() argument 62 Validate(lhs, rhs, dst); in MulFrontEndUpToCreateTrMulParams() 69 CreateTrMulParams<CompiledPaths>(Transpose(lhs), rhs, dst, mul_params, ctx, in MulFrontEndUpToCreateTrMulParams() 82 void MulFrontEnd(const Mat<LhsScalar>& lhs, const Mat<RhsScalar>& rhs, in MulFrontEnd() argument 89 rhs.layout.cols); in MulFrontEnd() 92 MulFrontEndUpToCreateTrMulParams<CompiledPaths>(lhs, rhs, *dst, mul_params, in MulFrontEnd()
|
A D | ruy_test.bzl | 5 for (lhs, rhs, accum, dst) in lhs_rhs_accum_dst: 7 name = "%s_%s_%s_%s_%s" % (name, lhs, rhs, accum, dst), 11 "-DRUY_TEST_RHSSCALAR=%s" % rhs, 21 for (lhs, rhs, accum, dst) in lhs_rhs_accum_dst: 23 name = "%s_%s_%s_%s_%s" % (name, lhs, rhs, accum, dst), 28 "-DRUY_TEST_RHSSCALAR=%s" % rhs,
|
A D | kernel_arm.h | 62 void Run(const PMat<std::int8_t>& lhs, const PMat<std::int8_t>& rhs, 66 MakeKernelParams8bit(lhs, rhs, mul_params, start_row, start_col, end_row, 90 void Run(const PMat<std::int8_t>& lhs, const PMat<std::int8_t>& rhs, 94 MakeKernelParams8bit(lhs, rhs, mul_params, start_row, start_col, end_row, 115 void Run(const PMat<std::int8_t>& lhs, const PMat<std::int8_t>& rhs, 119 MakeKernelParams8bit(lhs, rhs, mul_params, start_row, start_col, end_row, 150 void Run(const PMat<float>& lhs, const PMat<float>& rhs, 154 MakeKernelParamsFloat(lhs, rhs, mul_params, start_row, start_col, end_row, 176 void Run(const PMat<float>& lhs, const PMat<float>& rhs, 181 MakeKernelParamsFloat(lhs, rhs, mul_params, start_row, start_col, end_row, [all …]
|
A D | kernel_common.h | 132 const PMat<std::int8_t>& rhs, 148 params->rhs_base_ptr = rhs.data + start_col * rhs.layout.stride; 159 if (rhs.sums) { 160 params->rhs_sums = rhs.sums; 171 params->rhs_stride = rhs.layout.stride; 174 params->rhs_zero_point = rhs.zero_point; 177 params->prod_zp_depth = lhs.zero_point * rhs.zero_point * depth; 237 const PMat<float>& rhs, 249 params->rhs_base_ptr = rhs.data + start_col * rhs.layout.stride; 268 params->rhs_stride = sizeof(float) * rhs.layout.stride;
|
A D | ruy.h | 38 void Mul(const Matrix<LhsScalar>& lhs, const Matrix<RhsScalar>& rhs, in Mul() argument 44 Mat<RhsScalar> internal_rhs = ToInternal(rhs); in Mul() 98 void Mul(const Matrix<LhsScalar>& lhs, const Matrix<RhsScalar>& rhs, in Mul() argument 101 Mul<kDefaultPaths>(lhs, rhs, mul_params, context, dst); in Mul()
|
A D | reference_mul.h | 29 void ReferenceMul(const Matrix<LhsScalar>& lhs, const Matrix<RhsScalar>& rhs, in ReferenceMul() argument 33 for (int j = 0; j < rhs.layout().cols(); j++) { in ReferenceMul() 37 AccumScalar rhs_val = Element(rhs, k, j); in ReferenceMul() 38 accum += (lhs_val - lhs.zero_point()) * (rhs_val - rhs.zero_point()); in ReferenceMul()
|
A D | kernel.h | 80 const PMat<RhsScalar>& rhs, 127 kernel.Run(lhs, rhs, mul_params, start_row, start_col, end_row, end_col, dst); 133 kernel.Run(lhs, rhs, mul_params, row, col, block_end_row, block_end_col, 190 void Run(const PMat<LhsScalar>& lhs, const PMat<RhsScalar>& rhs, 216 AccumScalar rhs_val = Element(rhs, k, j); 225 accum -= lhs.zero_point * rhs.sums[j]; 227 if (rhs.zero_point) { 228 accum -= rhs.zero_point * lhs.sums[i]; 230 if (lhs.zero_point && rhs.zero_point) { 231 accum += lhs.zero_point * rhs.zero_point * depth;
|
/AliOS-Things-master/components/oss/include/alibabacloud/oss/ |
A D | OssError.h | 35 OssError(const OssError& rhs) : in OssError() argument 36 code_(rhs.code_), in OssError() 37 message_(rhs.message_), in OssError() 38 requestId_(rhs.requestId_), in OssError() 39 host_(rhs.host_) in OssError() 57 OssError& operator=(const OssError& rhs) 59 code_ = rhs.code_; 60 message_ = rhs.message_; 61 requestId_ = rhs.requestId_; 62 host_ = rhs.host_;
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/kernels/internal/reference/ |
A D | string_comparisons.h | 28 inline bool StringRefEqualFn(const StringRef& lhs, const StringRef& rhs) { in StringRefEqualFn() argument 29 if (lhs.len != rhs.len) return false; in StringRefEqualFn() 31 if (lhs.str[i] != rhs.str[i]) return false; in StringRefEqualFn() 36 inline bool StringRefNotEqualFn(const StringRef& lhs, const StringRef& rhs) { in StringRefNotEqualFn() argument 37 return !StringRefEqualFn(lhs, rhs); in StringRefNotEqualFn() 51 const auto rhs = GetString(input2, i); in ComparisonStringImpl() local 52 output_data[i] = F(lhs, rhs); in ComparisonStringImpl() 72 const auto rhs = in BroadcastComparison4DSlowStringImpl() local 74 output_data[Offset(dims.output_shape, b, y, x, c)] = F(lhs, rhs); in BroadcastComparison4DSlowStringImpl()
|
A D | comparisons.h | 27 inline bool EqualFn(T lhs, T rhs) { in EqualFn() argument 28 return lhs == rhs; in EqualFn() 32 inline bool NotEqualFn(T lhs, T rhs) { in NotEqualFn() argument 33 return lhs != rhs; in NotEqualFn() 37 inline bool GreaterFn(T lhs, T rhs) { in GreaterFn() argument 38 return lhs > rhs; in GreaterFn() 42 return lhs >= rhs; in GreaterEqualFn() 45 inline bool LessFn(T lhs, T rhs) { in LessFn() argument 46 return lhs < rhs; in LessFn() 49 inline bool LessEqualFn(T lhs, T rhs) { in LessEqualFn() argument [all …]
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/experimental/acceleration/configuration/ |
A D | configuration_generated.h | 2207 return !(lhs == rhs); 2262 return !(lhs == rhs); 2328 return !(lhs == rhs); 2374 return !(lhs == rhs); 2420 return !(lhs == rhs); 2460 return !(lhs == rhs); 2507 return !(lhs == rhs); 2551 return !(lhs == rhs); 2603 return !(lhs == rhs); 2986 …rhs.result) || (lhs.result && rhs.result && *lhs.result == *rhs.result) || (lhs.result && !rhs.res… [all …]
|
/AliOS-Things-master/components/oss/include/alibabacloud/oss/model/ |
A D | Owner.h | 33 Owner(const Owner& rhs) : in Owner() argument 34 id_(rhs.id_), in Owner() 35 displayName_(rhs.displayName_) in Owner() 41 Owner& operator=(const Owner& rhs) 43 id_ = rhs.id_; 44 displayName_ = rhs.displayName_;
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/third_party/cmsis/CMSIS/NN/Source/NNSupportFunctions/ |
A D | arm_nn_vec_mat_mult_t_svdf_s8.c | 81 const int8_t *rhs_0 = rhs; in arm_nn_vec_mat_mult_t_svdf_s8() 115 rhs += 3 * rhs_cols; in arm_nn_vec_mat_mult_t_svdf_s8() 136 const int8_t *rhs_0 = rhs; in arm_nn_vec_mat_mult_t_svdf_s8() 153 rhs += rhs_cols; in arm_nn_vec_mat_mult_t_svdf_s8() 180 const int8_t *rhs_0 = rhs; in arm_nn_vec_mat_mult_t_svdf_s8() 182 rhs += 2 * rhs_cols; in arm_nn_vec_mat_mult_t_svdf_s8() 225 const int8_t *rhs_0 = rhs; in arm_nn_vec_mat_mult_t_svdf_s8() 260 const q7_t *rhs_ptr_0 = &rhs[0]; in arm_nn_vec_mat_mult_t_svdf_s8() 300 rhs += 3 * rhs_cols; in arm_nn_vec_mat_mult_t_svdf_s8() 308 const q7_t *rhs_ptr = &rhs[0]; in arm_nn_vec_mat_mult_t_svdf_s8() [all …]
|
A D | arm_nn_vec_mat_mult_t_s8.c | 75 const int8_t *rhs_0 = rhs; in arm_nn_vec_mat_mult_t_s8() 109 rhs += 3 * rhs_cols; in arm_nn_vec_mat_mult_t_s8() 136 const int8_t *rhs_0 = rhs; in arm_nn_vec_mat_mult_t_s8() 153 rhs += rhs_cols; in arm_nn_vec_mat_mult_t_s8() 182 const q7_t *rhs_ptr = &rhs[0]; in arm_nn_vec_mat_mult_t_s8() 304 rhs += 2 * rhs_cols; in arm_nn_vec_mat_mult_t_s8() 310 const q7_t *rhs_ptr = &rhs[0]; in arm_nn_vec_mat_mult_t_s8() 399 const q7_t *rhs_ptr_0 = &rhs[0]; in arm_nn_vec_mat_mult_t_s8() 450 rhs += 3 * rhs_cols; in arm_nn_vec_mat_mult_t_s8() 458 const q7_t *rhs_ptr = &rhs[0]; in arm_nn_vec_mat_mult_t_s8() [all …]
|
/AliOS-Things-master/components/ai_agent/src/engine/tflite-micro/tensorflow/lite/micro/tools/make/downloads/cmsis/CMSIS/NN/Source/NNSupportFunctions/ |
A D | arm_nn_vec_mat_mult_t_svdf_s8.c | 81 const int8_t *rhs_0 = rhs; in arm_nn_vec_mat_mult_t_svdf_s8() 115 rhs += 3 * rhs_cols; in arm_nn_vec_mat_mult_t_svdf_s8() 136 const int8_t *rhs_0 = rhs; in arm_nn_vec_mat_mult_t_svdf_s8() 153 rhs += rhs_cols; in arm_nn_vec_mat_mult_t_svdf_s8() 180 const int8_t *rhs_0 = rhs; in arm_nn_vec_mat_mult_t_svdf_s8() 182 rhs += 2 * rhs_cols; in arm_nn_vec_mat_mult_t_svdf_s8() 225 const int8_t *rhs_0 = rhs; in arm_nn_vec_mat_mult_t_svdf_s8() 260 const q7_t *rhs_ptr_0 = &rhs[0]; in arm_nn_vec_mat_mult_t_svdf_s8() 300 rhs += 3 * rhs_cols; in arm_nn_vec_mat_mult_t_svdf_s8() 308 const q7_t *rhs_ptr = &rhs[0]; in arm_nn_vec_mat_mult_t_svdf_s8() [all …]
|
/AliOS-Things-master/components/py_engine/tests/perf_bench/ |
A D | misc_raytrace.py | 15 def __add__(self, rhs): argument 16 return Vec(self.x + rhs.x, self.y + rhs.y, self.z + rhs.z) 18 def __sub__(self, rhs): argument 19 return Vec(self.x - rhs.x, self.y - rhs.y, self.z - rhs.z) 21 def __mul__(self, rhs): argument 22 return Vec(self.x * rhs, self.y * rhs, self.z * rhs) 31 def dot(self, rhs): argument 32 return self.x * rhs.x + self.y * rhs.y + self.z * rhs.z
|