/aosp12/hardware/interfaces/neuralnetworks/1.0/ |
H A D | types.hal | 26 * scalar values and must have no dimensions. 34 /** A 32 bit floating point scalar value. */ 36 /** A signed 32 bit integer scalar value. */ 38 /** An unsigned 32 bit integer scalar value. */ 61 * OEM specific scalar value. 161 * * 7: An {@link OperandType::INT32} scalar, specifying the filter 213 * * n: An {@link OperandType::INT32} scalar, specifying the 745 * * 2: A scalar, specifying the bias, must not be zero. 748 * * 3: A scalar, specifying the scale factor, alpha. 751 * * 4: A scalar, specifying the exponent, beta. [all …]
|
/aosp12/packages/modules/NeuralNetworks/tools/api/ |
H A D | types.spec | 235 * OEM specific scalar value. 273 * scalar values and must have no dimensions. 284 /** A 32 bit floating point scalar value. */ 287 /** A signed 32 bit integer scalar value. */ 290 /** An unsigned 32 bit integer scalar value. */ 1394 * * 3: A scalar, specifying the scale factor, alpha. 1401 * * 4: A scalar, specifying the exponent, beta. 2979 * An 8 bit boolean scalar value. 3015 * An IEEE 754 16 bit floating point scalar value. 3914 * * 12: A scalar, specifying the IoU threshold for hard NMS. The scalar [all …]
|
/aosp12/hardware/interfaces/neuralnetworks/1.2/ |
H A D | types.hal | 42 * An 8 bit boolean scalar value. 70 * An IEEE 754 16 bit floating point scalar value. 119 * OEM specific scalar value. 309 * * n: An {@link OperandType::INT32} scalar, specifying the 992 * * 2: A scalar, specifying the bias, must not be zero. 997 * * 3: A scalar, specifying the scale factor, alpha. 1002 * * 4: A scalar, specifying the exponent, beta. 1688 * scalar must be of {@link OperandType::FLOAT16}. 2863 * * 12: A scalar, specifying the IoU threshold for hard NMS. The scalar 4809 * For a scalar operand, dimensions.size() must be 0. [all …]
|
/aosp12/hardware/interfaces/neuralnetworks/1.3/ |
H A D | types.hal | 56 * OEM specific scalar value. 258 * * n: An {@link OperandType::INT32} scalar, specifying the 988 * * 2: A scalar, specifying the bias, must not be zero. 993 * * 3: A scalar, specifying the scale factor, alpha. 998 * * 4: A scalar, specifying the exponent, beta. 1728 * scalar must be of {@link OperandType::FLOAT16}. 3039 * * 12: A scalar, specifying the IoU threshold for hard NMS. The scalar 5213 * * 1: A scalar, specifying the alpha parameter. 5253 * Creates a tensor filled with a scalar value. 5270 * the scalar must be of {@link OperandType::INT32}. [all …]
|
/aosp12/packages/modules/NeuralNetworks/runtime/test/ |
H A D | TestValidateOperations.cpp | 1838 ANeuralNetworksOperandType padLeft = scalar; in poolingOpTest() 1840 ANeuralNetworksOperandType padTop = scalar; in poolingOpTest() 2129 ANeuralNetworksOperandType padLeft = scalar; in convOpTest() 2131 ANeuralNetworksOperandType padTop = scalar; in convOpTest() 2264 ANeuralNetworksOperandType padLeft = scalar; in depthwiseConvOpTest() 2266 ANeuralNetworksOperandType padTop = scalar; in depthwiseConvOpTest() 3343 {input, filter, bias, scalar, scalar, scalar, scalar, in groupedConvOpTest() 3344 scalar, scalar, scalar, scalar, layout}, in groupedConvOpTest() 3353 {input, filter, bias, scalar, scalar, scalar, scalar, scalar, layout}, {output}); in groupedConvOpTest() 3417 {input, filter, bias, scalar, scalar, scalar, scalar, scalar, scalar, scalar, layout}, in transposeConvOpTest() [all …]
|
/aosp12/frameworks/native/libs/math/include/math/ |
H A D | TQuatHelpers.h | 129 constexpr QUATERNION<T> PURE operator *(QUATERNION<T> q, T scalar) { 131 return q *= scalar; 134 constexpr QUATERNION<T> PURE operator *(T scalar, QUATERNION<T> q) { 136 return q *= scalar; 140 constexpr QUATERNION<T> PURE operator /(QUATERNION<T> q, T scalar) { 142 return q /= scalar;
|
/aosp12/frameworks/rs/driver/runtime/ |
H A D | rs_quaternion.c | 109 rsQuaternionMultiply(rs_quaternion* q, float scalar) { in rsQuaternionMultiply() argument 110 q->w *= scalar; in rsQuaternionMultiply() 111 q->x *= scalar; in rsQuaternionMultiply() 112 q->y *= scalar; in rsQuaternionMultiply() 113 q->z *= scalar; in rsQuaternionMultiply()
|
/aosp12/frameworks/rs/script_api/include/ |
H A D | rs_quaternion.rsh | 225 * rsQuaternionMultiply: Multiply a quaternion by a scalar or another quaternion 227 * Multiplies a quaternion by a scalar or by another quaternion, e.g 228 * *q = *q * scalar; or *q = *q * *rhs;. 232 * scalar: Scalar to multiply the quaternion by. 237 rsQuaternionMultiply(rs_quaternion* q, float scalar) { 238 q->w *= scalar; 239 q->x *= scalar; 240 q->y *= scalar; 241 q->z *= scalar; 361 rsQuaternionMultiply(rs_quaternion* q, float scalar);
|
/aosp12/system/tools/hidl/hidl2aidl/ |
H A D | AidlNamedType.cpp | 42 const ScalarType* scalar = enumType.storageType()->resolveToScalarType(); in emitEnumAidlDefinition() local 43 CHECK(scalar != nullptr) << enumType.typeName(); in emitEnumAidlDefinition() 47 out << "@Backing(type=\"" << AidlHelper::getAidlType(*scalar, enumType.fqName()) << "\")\n"; in emitEnumAidlDefinition()
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
H A D | Matrix.java | 160 public Matrix times(double scalar) { in times() argument 161 return times(scalar, new Matrix(n, m)); in times() 172 public Matrix times(double scalar, Matrix result) { in times() argument 177 result.mem[i] = this.mem[i] * scalar; in times()
|
/aosp12/hardware/interfaces/sensors/common/utils/ |
H A D | convertV2_1.h | 90 dst->u.scalar = src.data[0]; in convertFromSensorEvent() 108 dst->data[0] = src.u.scalar; in convertToSensorEvent()
|
/aosp12/art/test/660-checker-sad/ |
H A D | info.txt | 1 Functional tests on SAD scalar operations.
|
/aosp12/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/ |
H A D | fisheye_approx_f.rsh | 55 const float scalar = radian * factor * inv_dist; 56 const float2 new_coord = mad(coord, scalar, center);
|
/aosp12/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/ |
H A D | fisheye.rsh | 53 const float scalar = radian * factor * inv_dist; 54 const float2 new_coord = mad(coord, scalar, center);
|
H A D | fisheye_approx.rsh | 53 const float scalar = radian * factor * inv_dist; 54 const float2 new_coord = mad(coord, scalar, center);
|
/aosp12/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/ |
H A D | fisheye.rsh | 53 const float scalar = radian * factor * inv_dist; 54 const float2 new_coord = mad(coord, scalar, center);
|
H A D | fisheye_approx.rsh | 53 const float scalar = radian * factor * inv_dist; 54 const float2 new_coord = mad(coord, scalar, center);
|
/aosp12/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/ |
H A D | fisheye.rsh | 53 const float scalar = radian * factor * inv_dist; 54 const float2 new_coord = mad(coord, scalar, center);
|
H A D | fisheye_approx.rsh | 53 const float scalar = radian * factor * inv_dist; 54 const float2 new_coord = mad(coord, scalar, center);
|
/aosp12/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
H A D | ml_math_func.c | 589 unsigned short scalar; in inv_orientation_matrix_to_scalar() local 600 scalar = inv_row_2_scale(mtx); in inv_orientation_matrix_to_scalar() 601 scalar |= inv_row_2_scale(mtx + 3) << 3; in inv_orientation_matrix_to_scalar() 602 scalar |= inv_row_2_scale(mtx + 6) << 6; in inv_orientation_matrix_to_scalar() 604 return scalar; in inv_orientation_matrix_to_scalar()
|
/aosp12/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
H A D | ml_math_func.c | 589 unsigned short scalar; in inv_orientation_matrix_to_scalar() local 600 scalar = inv_row_2_scale(mtx); in inv_orientation_matrix_to_scalar() 601 scalar |= inv_row_2_scale(mtx + 3) << 3; in inv_orientation_matrix_to_scalar() 602 scalar |= inv_row_2_scale(mtx + 6) << 6; in inv_orientation_matrix_to_scalar() 604 return scalar; in inv_orientation_matrix_to_scalar()
|
/aosp12/packages/modules/NeuralNetworks/common/ |
H A D | QuantUtils.cpp | 53 void MatrixScalarMultiplyAccumulate(const int8_t* matrix, int32_t scalar, int32_t n_row, in MatrixScalarMultiplyAccumulate() argument 60 output[i] += row_sum * scalar; in MatrixScalarMultiplyAccumulate()
|
/aosp12/hardware/interfaces/neuralnetworks/1.1/ |
H A D | types.hal | 88 * * 2: An {@link OperandType::INT32} scalar, and has to be one of the 122 * * 2: An {@link OperandType::INT32} scalar, keep_dims. If positive, 268 * * 4: begin_mask, an {@link OperandType::INT32} scalar. If the ith bit 271 * * 5: end_mask, an {@link OperandType::INT32} scalar. If the ith bit of 274 * * 6: shrink_axis_mask, an {@link OperandType::INT32} scalar. If the 319 * * 2: An {@link OperandType::INT32} scalar, and has to be one of the
|
/aosp12/frameworks/compile/slang/tests/P_warnings_rsSetElementAt/ |
H A D | setelementat.rscript | 6 // Basic scalar and floating point types.
|
/aosp12/frameworks/rs/script_api/ |
H A D | GenerateTestFiles.cpp | 96 void writeJavaArgumentClass(bool scalar, set<string>* javaGeneratedArgumentClasses) const; 239 void PermutationWriter::writeJavaArgumentClass(bool scalar, in writeJavaArgumentClass() argument 242 if (scalar) { in writeJavaArgumentClass() 254 bool isFieldArray = !scalar && p->mVectorSize != "1"; in writeJavaArgumentClass()
|