Home
last modified time | relevance | path

Searched refs:RandomVariable (Results 1 – 15 of 15) sorted by relevance

/packages/modules/NeuralNetworks/runtime/test/fuzzing/
DRandomVariable.h136 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 …]
DRandomVariable.cpp34 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 …]
DRandomGraphGenerator.h55 std::vector<RandomVariable> dimensions;
57 std::vector<RandomVariable> randomBuffer;
93 RandomVariable& value<RandomVariable>(uint32_t index) {
DRandomGraphGeneratorUtils.h234 inline std::ostream& operator<<(std::ostream& os, const RandomVariable& var) {
241 [](const RandomVariable& var) { return std::to_string(var.getValue()); })
DRandomGraphGenerator.cpp100 if (RandomVariable::defaultValue > 10) { in RandomOperation()
/packages/modules/NeuralNetworks/runtime/test/fuzzing/operation_signatures/
DOperationSignatureUtils.h190 inline void implicitPadding(const RandomVariable& input, const RandomVariable& filter,
191 const RandomVariable& stride, const RandomVariable& dilation,
192 int32_t paddingScheme, RandomVariable* output) {
205 inline void explicitPadding(const RandomVariable& input, const RandomVariable& filter,
206 const RandomVariable& stride, const RandomVariable& dilation,
207 const RandomVariable& paddingHead, const RandomVariable& paddingTail,
208 RandomVariable* output) {
216 inline void implicitPaddingTranspose(const RandomVariable& input, const RandomVariable& filter,
217 const RandomVariable& stride, int32_t paddingScheme,
218 RandomVariable* output) {
[all …]
DBoundingBox.cpp57 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()
DConvolutions.cpp293 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()
DPoolings.cpp34 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()
DResize.cpp32 RandomVariable outHeight, outWidth; in resizeOpConstructor()
36 outWidth = op->inputs[1]->value<RandomVariable>(); in resizeOpConstructor()
37 outHeight = op->inputs[2]->value<RandomVariable>(); in resizeOpConstructor()
DFullyConnected.cpp29 RandomVariable numElements = 1; in fullyConnectedConstructor()
DConcatSplit.cpp135 RandomVariable outDim; in splitConstructor()
DReshape.cpp141 RandomVariable numInputElements = 1; in reshapeConstructor()
142 RandomVariable numOutputElements = 1; in reshapeConstructor()
DSelection.cpp198 auto k = op->inputs[1]->value<RandomVariable>(); in topKConstructor()
/packages/modules/NeuralNetworks/runtime/test/
DAndroid.bp199 "fuzzing/RandomVariable.cpp",
390 "fuzzing/RandomVariable.cpp",
474 "fuzzing/RandomVariable.cpp",