/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/ |
D | OperationSignatureUtils.h | 112 return getUniform(low, up); 245 op->outputs[0]->scale = getUniform(biasScale, biasScale * 5); 265 op->scale = getUniform<float>(0.1, 2.0); 266 op->zeroPoint = getUniform<int32_t>(0, 255); 268 op->scale = getUniform<float>(0.1, 2.0); 269 op->zeroPoint = getUniform<int32_t>(-128, 127); 271 op->scale = getUniform<float>(0.1, 2.0); 274 op->scale = getUniform<float>(0.1, 2.0); 275 op->zeroPoint = getUniform<int32_t>(0, 65535); 277 op->scale = getUniform<float>(0.1, 2.0); [all …]
|
D | Selection.cpp | 43 op->inputs[0]->value<int32_t>(i) = getUniform<int32_t>(0, dimValue - 1); in embeddingLookupFinalizer() 85 val += getUniform<int32_t>(1, 2); in hashtableLookupFinalizer() 90 op->inputs[0]->value<int32_t>(i) = getUniform<int32_t>(0, val); in hashtableLookupFinalizer() 117 int32_t axis = getUniform<int32_t>(-rank, rank - 1); in gatherConstructor() 122 uint32_t indRank = getUniform<uint32_t>(1, 5); in gatherConstructor() 145 op->inputs[2]->value<int32_t>(i) = getUniform<int32_t>(0, dimValue - 1); in gatherFinalizer() 254 begin[i] = getUniform<int32_t>(0, inputSize - outputSize); in sliceFinalizer() 293 int32_t stride = getUniform<int32_t>(1, 3); in stridedSliceConstructor() 327 begin[i] = getUniform<int32_t>(0, maxStart); in stridedSliceFinalizer() 331 end[i] = getUniform<int32_t>(minEnd, maxEnd); in stridedSliceFinalizer() [all …]
|
D | Reshape.cpp | 266 for (int i = 0; i < 4; i++) op->value<int32_t>(i) = getUniform<int32_t>(0, 10); in __anon0a84149d0102() 312 int32_t left = getUniform<int32_t>(0, 5), right = getUniform<int32_t>(0, 5); in padConstructor() 326 op->setScalarValue<float>(getUniform<float>(-10.0f, 10.0f)); in __anon0a84149d0202() 330 op->setScalarValue<_Float16>(getUniform<_Float16>(-10.0f, 10.0f)); in __anon0a84149d0202() 334 op->setScalarValue<int32_t>(getUniform<int32_t>(0, 255)); in __anon0a84149d0202() 338 op->setScalarValue<int32_t>(getUniform<int32_t>(-128, 127)); in __anon0a84149d0202() 428 int32_t axis = getUniform<int32_t>(-rank, rank - 1); in channelShuffleConstructor() 454 uint32_t numAxis = getUniform<int32_t>(1, 10); in squeezeConstructor() 459 int32_t dim = getUniform<int32_t>(0, rank - 1); in squeezeConstructor() 522 int32_t axis = getUniform<int32_t>(-rank - 1, rank); in expandDimsConstructor() [all …]
|
D | BoundingBox.cpp | 79 T low = getUniform<T>(0, maxW); in fillRoiTensor() 81 op->value<T>(i * 4 + 2) = getUniform<T>(low, maxW); in fillRoiTensor() 82 low = getUniform<T>(0, maxH); in fillRoiTensor() 84 op->value<T>(i * 4 + 3) = getUniform<T>(low, maxH); in fillRoiTensor() 119 for (uint32_t i = 0; i < numRois; i++) batchIndex[i] = getUniform<int32_t>(0, batch - 1); in roiFinalizer()
|
D | Reduce.cpp | 30 uint32_t numAxis = getUniform<int32_t>(1, 10); in reduceOpConstructor() 34 int32_t dim = getUniform<int32_t>(-rank, rank - 1); in reduceOpConstructor() 106 int32_t axis = getUniform<int32_t>(-rank, rank - 1); in singleAxisReduceOpConstructor()
|
D | Normalization.cpp | 27 op->inputs[2]->setScalarValue<int32_t>(getUniform<int32_t>(-rank, rank - 1)); in softmaxConstructor() 95 op->inputs[1]->setScalarValue<int32_t>(getUniform<int32_t>(-rank, rank - 1)); in l2normConstructor() 163 op->inputs[5]->setScalarValue<int32_t>(getUniform<int32_t>(-rank, rank - 1)); in localResponseNormConstructor()
|
D | Broadcast.cpp | 26 const uint32_t rank2 = getUniform(1u, rank), rankDiff = rank - rank2; in broadcastOpConstructor() 58 op->outputs[0]->scale = getUniform(minScale, minScale * 5); in broadcastOpConstructor()
|
D | ConcatSplit.cpp | 31 int32_t axis = getUniform<int32_t>(0, rank - 1); in concatConstructor() 123 int32_t axis = getUniform<int32_t>(-rank, rank - 1); in splitConstructor()
|
/frameworks/native/libs/renderengine/gl/ |
D | Program.h | 63 GLint getUniform(const char* name) const;
|
D | Program.cpp | 93 GLint Program::getUniform(const char* name) const { in getUniform() function in android::renderengine::gl::Program
|
/frameworks/ml/nn/runtime/test/fuzzing/ |
D | RandomGraphGeneratorUtils.h | 289 inline std::enable_if_t<nnIsFloat<T>, T> getUniform(T lower, T upper) { in getUniform() function 307 inline std::enable_if_t<std::is_integral_v<T>, T> getUniform(T lower, T upper) { in getUniform() function
|