/frameworks/ml/nn/runtime/test/fuzzing/ |
D | RandomVariable.h | 136 class RandomVariable { 139 RandomVariable() : mVar(nullptr) {} in RandomVariable() function 142 /* implicit */ RandomVariable(int value); 145 RandomVariable(int lower, int upper); 148 explicit RandomVariable(const std::vector<int>& choices); 152 /* implicit */ RandomVariable(RandomVariableType type); 155 RandomVariable(const RandomVariable& other) = default; 156 RandomVariable& operator=(const RandomVariable& other) = default; 168 friend RandomVariable operator+(const RandomVariable& lhs, const RandomVariable& rhs); 169 friend RandomVariable operator-(const RandomVariable& lhs, const RandomVariable& rhs); [all …]
|
D | RandomVariable.cpp | 34 int RandomVariable::defaultValue = 10; 113 RandomVariable::RandomVariable(int value) : mVar(new RandomVariableBase(value)) { in RandomVariable() function in android::nn::fuzzing_test::RandomVariable 117 RandomVariable::RandomVariable(int lower, int upper) : mVar(new RandomVariableBase(lower, upper)) { in RandomVariable() function in android::nn::fuzzing_test::RandomVariable 121 RandomVariable::RandomVariable(const std::vector<int>& choices) in RandomVariable() function in android::nn::fuzzing_test::RandomVariable 126 RandomVariable::RandomVariable(RandomVariableType type) in RandomVariable() function in android::nn::fuzzing_test::RandomVariable 132 RandomVariable::RandomVariable(const RandomVariable& lhs, const RandomVariable& rhs, in RandomVariable() function in android::nn::fuzzing_test::RandomVariable 137 mVar->parent1 = RandomVariable(mVar->parent1->value).get(); in RandomVariable() 140 mVar->parent2 = RandomVariable(mVar->parent2->value).get(); in RandomVariable() 148 void RandomVariable::setRange(int lower, int upper) { in setRange() 515 RandomVariable operator+(const RandomVariable& lhs, const RandomVariable& rhs) { in operator +() [all …]
|
D | RandomGraphGenerator.h | 55 std::vector<RandomVariable> dimensions; 57 std::vector<RandomVariable> randomBuffer; 93 RandomVariable& value<RandomVariable>(uint32_t index) {
|
D | RandomGraphGeneratorUtils.h | 248 inline std::string toString<RandomVariable>(const RandomVariable& var) { 256 [](const RandomVariable& var) { return std::to_string(var.getValue()); }) +
|
D | RandomGraphGenerator.cpp | 100 if (RandomVariable::defaultValue > 10) { in RandomOperation()
|
/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/ |
D | OperationSignatureUtils.h | 180 inline void implicitPadding(const RandomVariable& input, const RandomVariable& filter, 181 const RandomVariable& stride, const RandomVariable& dilation, 182 int32_t paddingScheme, RandomVariable* output) { 195 inline void explicitPadding(const RandomVariable& input, const RandomVariable& filter, 196 const RandomVariable& stride, const RandomVariable& dilation, 197 const RandomVariable& paddingHead, const RandomVariable& paddingTail, 198 RandomVariable* output) { 206 inline void implicitPaddingTranspose(const RandomVariable& input, const RandomVariable& filter, 207 const RandomVariable& stride, int32_t paddingScheme, 208 RandomVariable* output) { [all …]
|
D | BoundingBox.cpp | 57 auto outHeight = op->inputs[3]->value<RandomVariable>(); in roiConstructor() 58 auto outWidth = op->inputs[4]->value<RandomVariable>(); in roiConstructor() 186 RandomVariable heatmapSize = RandomVariableType::FREE; in heatmapMaxKeypointConstructor() 187 RandomVariable numRois = RandomVariableType::FREE; in heatmapMaxKeypointConstructor() 188 RandomVariable numKeypoints = RandomVariableType::FREE; in heatmapMaxKeypointConstructor()
|
D | Poolings.cpp | 34 auto filterWidth = op->inputs[7]->value<RandomVariable>(); in poolingExplicitOpConstructor() 35 auto filterHeight = op->inputs[8]->value<RandomVariable>(); in poolingExplicitOpConstructor() 73 auto filterWidth = op->inputs[4]->value<RandomVariable>(); in poolingImplicitOpConstructor() 74 auto filterHeight = op->inputs[5]->value<RandomVariable>(); in poolingImplicitOpConstructor()
|
D | Resize.cpp | 32 RandomVariable outHeight, outWidth; in resizeOpConstructor() 36 outWidth = op->inputs[1]->value<RandomVariable>(); in resizeOpConstructor() 37 outHeight = op->inputs[2]->value<RandomVariable>(); in resizeOpConstructor()
|
D | Convolutions.cpp | 293 RandomVariable channelOut = in depthwiseConv2DExplicitConstructor() 294 op->inputs[9]->value<RandomVariable>() * op->inputs[0]->dimensions[channelIndex]; in depthwiseConv2DExplicitConstructor() 346 RandomVariable channelOut = in depthwiseConv2DImplicitConstructor() 347 op->inputs[6]->value<RandomVariable>() * op->inputs[0]->dimensions[channelIndex]; in depthwiseConv2DImplicitConstructor() 534 RandomVariable numGroups = op->inputs[9]->value<RandomVariable>(); in groupedConv2DExplicitConstructor() 535 RandomVariable channelGroup = RandomVariableType::FREE; in groupedConv2DExplicitConstructor() 586 RandomVariable numGroups = op->inputs[6]->value<RandomVariable>(); in groupedConv2DImplicitConstructor() 587 RandomVariable channelGroup = RandomVariableType::FREE; in groupedConv2DImplicitConstructor()
|
D | FullyConnected.cpp | 29 RandomVariable numElements = 1; in fullyConnectedConstructor()
|
D | ConcatSplit.cpp | 135 RandomVariable outDim; in splitConstructor()
|
D | Reshape.cpp | 141 RandomVariable numInputElements = 1; in reshapeConstructor() 142 RandomVariable numOutputElements = 1; in reshapeConstructor()
|
D | Selection.cpp | 198 auto k = op->inputs[1]->value<RandomVariable>(); in topKConstructor()
|
/frameworks/ml/nn/runtime/test/ |
D | Android.bp | 179 "fuzzing/RandomVariable.cpp", 360 "fuzzing/RandomVariable.cpp", 437 "fuzzing/RandomVariable.cpp",
|