/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 | 33 int RandomVariable::defaultValue = 10; 112 RandomVariable::RandomVariable(int value) : mVar(new RandomVariableBase(value)) { in RandomVariable() function in android::nn::fuzzing_test::RandomVariable 116 RandomVariable::RandomVariable(int lower, int upper) : mVar(new RandomVariableBase(lower, upper)) { in RandomVariable() function in android::nn::fuzzing_test::RandomVariable 120 RandomVariable::RandomVariable(const std::vector<int>& choices) in RandomVariable() function in android::nn::fuzzing_test::RandomVariable 125 RandomVariable::RandomVariable(RandomVariableType type) in RandomVariable() function in android::nn::fuzzing_test::RandomVariable 131 RandomVariable::RandomVariable(const RandomVariable& lhs, const RandomVariable& rhs, in RandomVariable() function in android::nn::fuzzing_test::RandomVariable 136 mVar->parent1 = RandomVariable(mVar->parent1->value).get(); in RandomVariable() 139 mVar->parent2 = RandomVariable(mVar->parent2->value).get(); in RandomVariable() 147 void RandomVariable::setRange(int lower, int upper) { in setRange() 514 RandomVariable operator+(const RandomVariable& lhs, const RandomVariable& rhs) { in operator +() [all …]
|
D | RandomGraphGenerator.h | 44 std::vector<RandomVariable> dimensions; 46 std::vector<RandomVariable> randomBuffer; 82 RandomVariable& value<RandomVariable>(uint32_t index) {
|
D | RandomGraphGeneratorUtils.h | 348 inline std::string toString<RandomVariable>(const RandomVariable& var) { 356 [](const RandomVariable& var) { return std::to_string(var.getValue()); }) + 384 void dump(const std::vector<RandomVariable>& dimensions);
|
D | RandomGraphGeneratorUtils.cpp | 122 void SpecWriter::dump(const std::vector<RandomVariable>& dimensions) { in dump() 123 os << "{" << joinStr(", ", dimensions, [](const RandomVariable& var) { in dump()
|
D | RandomGraphGenerator.cpp | 89 if (RandomVariable::defaultValue > 10) { in RandomOperation()
|
/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/ |
D | OperationSignatureUtils.h | 146 inline void implicitPadding(const RandomVariable& input, const RandomVariable& filter, 147 const RandomVariable& stride, const RandomVariable& dilation, 148 int32_t paddingScheme, RandomVariable* output) { 161 inline void explicitPadding(const RandomVariable& input, const RandomVariable& filter, 162 const RandomVariable& stride, const RandomVariable& dilation, 163 const RandomVariable& paddingHead, const RandomVariable& paddingTail, 164 RandomVariable* output) { 172 inline void implicitPaddingTranspose(const RandomVariable& input, const RandomVariable& filter, 173 const RandomVariable& stride, int32_t paddingScheme, 174 RandomVariable* output) { [all …]
|
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 | BoundingBox.cpp | 53 auto outHeight = op->inputs[3]->value<RandomVariable>(); in roiConstructor() 54 auto outWidth = op->inputs[4]->value<RandomVariable>(); in roiConstructor() 165 RandomVariable heatmapSize = RandomVariableType::FREE; in heatmapMaxKeypointConstructor() 166 RandomVariable numRois = RandomVariableType::FREE; in heatmapMaxKeypointConstructor() 167 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 | Convolutions.cpp | 289 RandomVariable channelOut = in depthwiseConv2DExplicitConstructor() 290 op->inputs[9]->value<RandomVariable>() * op->inputs[0]->dimensions[channelIndex]; in depthwiseConv2DExplicitConstructor() 342 RandomVariable channelOut = in depthwiseConv2DImplicitConstructor() 343 op->inputs[6]->value<RandomVariable>() * op->inputs[0]->dimensions[channelIndex]; in depthwiseConv2DImplicitConstructor() 524 RandomVariable numGroups = op->inputs[9]->value<RandomVariable>(); in groupedConv2DExplicitConstructor() 525 RandomVariable channelGroup = RandomVariableType::FREE; in groupedConv2DExplicitConstructor() 576 RandomVariable numGroups = op->inputs[6]->value<RandomVariable>(); in groupedConv2DImplicitConstructor() 577 RandomVariable channelGroup = RandomVariableType::FREE; in groupedConv2DImplicitConstructor()
|
D | FullyConnected.cpp | 28 RandomVariable numElements = 1; in fullyConnectedConstructor()
|
D | ConcatSplit.cpp | 106 RandomVariable outDim; in splitConstructor()
|
D | Reshape.cpp | 133 RandomVariable numInputElements = 1; in reshapeConstructor() 134 RandomVariable numOutputElements = 1; in reshapeConstructor()
|
D | Selection.cpp | 176 auto k = op->inputs[1]->value<RandomVariable>(); in topKConstructor()
|
/frameworks/ml/nn/runtime/test/ |
D | Android.bp | 148 "fuzzing/RandomVariable.cpp",
|