Home
last modified time | relevance | path

Searched refs:scalar (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/ml/nn/tools/api/
Dtypes.spec151 * OEM specific scalar value.
183 * scalar values and must have no dimensions.
194 /** A 32 bit floating point scalar value. */
196 /** A signed 32 bit integer scalar value. */
198 /** An unsigned 32 bit integer scalar value. */
280 * * 2: An {@link %{OperandTypeLinkPfx}INT32} scalar, and has to be one of the
333 * * 1: An {@link %{OperandTypeLinkPfx}INT32} scalar, specifying the padding on
335 * * 2: An {@link %{OperandTypeLinkPfx}INT32} scalar, specifying the padding on
337 * * 3: An {@link %{OperandTypeLinkPfx}INT32} scalar, specifying the padding on
339 * * 4: An {@link %{OperandTypeLinkPfx}INT32} scalar, specifying the padding on
[all …]
/frameworks/native/libs/math/include/math/
DTQuatHelpers.h129 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;
/frameworks/ml/nn/runtime/test/
DTestValidateOperations.cpp1834 ANeuralNetworksOperandType scalar = {.type = ANEURALNETWORKS_INT32, in poolingOpTest() local
1839 ANeuralNetworksOperandType padLeft = scalar; in poolingOpTest()
1840 ANeuralNetworksOperandType padRight = scalar; in poolingOpTest()
1841 ANeuralNetworksOperandType padTop = scalar; in poolingOpTest()
1842 ANeuralNetworksOperandType padBottom = scalar; in poolingOpTest()
1843 ANeuralNetworksOperandType strideWidth = scalar; in poolingOpTest()
1844 ANeuralNetworksOperandType strideHeight = scalar; in poolingOpTest()
1845 ANeuralNetworksOperandType filterWidth = scalar; in poolingOpTest()
1846 ANeuralNetworksOperandType filterHeight = scalar; in poolingOpTest()
1847 ANeuralNetworksOperandType activation = scalar; in poolingOpTest()
[all …]
/frameworks/rs/driver/runtime/
Drs_quaternion.c109 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()
/frameworks/rs/script_api/include/
Drs_quaternion.rsh225 * 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);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DMatrix.java160 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()
/frameworks/rs/tests/java_api/ScriptGroupTest/src/com/android/rs/sgtest/
Dfisheye_approx_f.rsh55 const float scalar = radian * factor * inv_dist;
56 const float2 new_coord = mad(coord, scalar, center);
/frameworks/rs/tests/java_api/ImageProcessing2/src/com/android/rs/image/
Dfisheye.rsh53 const float scalar = radian * factor * inv_dist;
54 const float2 new_coord = mad(coord, scalar, center);
Dfisheye_approx.rsh53 const float scalar = radian * factor * inv_dist;
54 const float2 new_coord = mad(coord, scalar, center);
/frameworks/rs/tests/java_api/ImageProcessing/src/com/android/rs/image/
Dfisheye.rsh53 const float scalar = radian * factor * inv_dist;
54 const float2 new_coord = mad(coord, scalar, center);
Dfisheye_approx.rsh53 const float scalar = radian * factor * inv_dist;
54 const float2 new_coord = mad(coord, scalar, center);
/frameworks/rs/tests/java_api/ImageProcessing_jb/src/com/android/rs/image/
Dfisheye.rsh53 const float scalar = radian * factor * inv_dist;
54 const float2 new_coord = mad(coord, scalar, center);
Dfisheye_approx.rsh53 const float scalar = radian * factor * inv_dist;
54 const float2 new_coord = mad(coord, scalar, center);
/frameworks/compile/slang/tests/P_warnings_rsSetElementAt/
Dsetelementat.rscript6 // Basic scalar and floating point types.
/frameworks/ml/nn/common/
DQuantUtils.cpp53 void MatrixScalarMultiplyAccumulate(const int8_t* matrix, int32_t scalar, int32_t n_row, in MatrixScalarMultiplyAccumulate() argument
60 output[i] += row_sum * scalar; in MatrixScalarMultiplyAccumulate()
DQuantUtils.h140 void MatrixScalarMultiplyAccumulate(const int8_t* matrix, int32_t scalar, int32_t n_row,
/frameworks/rs/script_api/
DGenerateTestFiles.cpp96 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()
Drs_value_types.spec22 RenderScript supports the following scalar numerical types:
Drs_quaternion.spec373 arg: float scalar
/frameworks/native/services/surfaceflinger/tests/hwc2/
DHwc2TestProperties.cpp83 for (auto scalar : mScalars) { in update() local
84 mBufferAreas.push_back({static_cast<int32_t>(scalar * mDisplayArea.width), in update()
85 static_cast<int32_t>(scalar * mDisplayArea.height)}); in update()
/frameworks/ml/nn/extensions/
DREADME.md56 * A custom scalar type.
73 * * 0: A scalar of {@link EXAMPLE_SCALAR}.
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
Dstruct_field.rscript22 // "checkOuter()", passing the expected field values as scalar
Dsingle_source_alloc.rscript280 // These types are valid for scalar and vectors, but don't support pixel
300 // U8, U16 are valid for scalar, vector and pixel
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
Dstruct_field.rscript24 // "checkOuter()", passing the expected field values as scalar
Dsingle_source_alloc.rscript282 // These types are valid for scalar and vectors, but don't support pixel
302 // U8, U16 are valid for scalar, vector and pixel

12