Home
last modified time | relevance | path

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

/aosp12/packages/modules/NeuralNetworks/runtime/test/fuzzing/
H A DRandomVariable.h155 RandomVariable(const RandomVariable& other) = default;
168 friend RandomVariable operator+(const RandomVariable& lhs, const RandomVariable& rhs);
169 friend RandomVariable operator-(const RandomVariable& lhs, const RandomVariable& rhs);
170 friend RandomVariable operator*(const RandomVariable& lhs, const RandomVariable& rhs);
172 friend RandomVariable operator/(const RandomVariable& lhs, const RandomVariable& rhs);
173 friend RandomVariable operator%(const RandomVariable& lhs, const RandomVariable& rhs);
174 friend RandomVariable max(const RandomVariable& lhs, const RandomVariable& rhs);
175 friend RandomVariable min(const RandomVariable& lhs, const RandomVariable& rhs);
176 RandomVariable exactDiv(const RandomVariable& other);
180 RandomVariable setEqual(const RandomVariable& other) const;
[all …]
H A DRandomVariable.cpp132 RandomVariable::RandomVariable(const RandomVariable& lhs, const RandomVariable& rhs, in RandomVariable() function in android::nn::fuzzing_test::RandomVariable
515 RandomVariable operator+(const RandomVariable& lhs, const RandomVariable& rhs) { in operator +()
519 RandomVariable operator-(const RandomVariable& lhs, const RandomVariable& rhs) { in operator -()
523 RandomVariable operator*(const RandomVariable& lhs, const RandomVariable& rhs) { in operator *()
530 RandomVariable operator/(const RandomVariable& lhs, const RandomVariable& rhs) { in operator /()
534 RandomVariable operator%(const RandomVariable& lhs, const RandomVariable& rhs) { in operator %()
538 RandomVariable max(const RandomVariable& lhs, const RandomVariable& rhs) { in max()
541 RandomVariable min(const RandomVariable& lhs, const RandomVariable& rhs) { in min()
545 RandomVariable RandomVariable::exactDiv(const RandomVariable& other) { in exactDiv()
550 RandomVariable RandomVariable::setEqual(const RandomVariable& other) const { in setEqual()
[all …]
H A DRandomGraphGenerator.h55 std::vector<RandomVariable> dimensions;
57 std::vector<RandomVariable> randomBuffer;
93 RandomVariable& value<RandomVariable>(uint32_t index) {
H A DRandomGraphGeneratorUtils.h234 inline std::ostream& operator<<(std::ostream& os, const RandomVariable& var) {
241 [](const RandomVariable& var) { return std::to_string(var.getValue()); })
H A DRandomGraphGenerator.cpp100 if (RandomVariable::defaultValue > 10) { in RandomOperation()
/aosp12/packages/modules/NeuralNetworks/runtime/test/fuzzing/operation_signatures/
H A DOperationSignatureUtils.h190 inline void implicitPadding(const RandomVariable& input, const RandomVariable& filter,
191 const RandomVariable& stride, const RandomVariable& dilation,
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,
218 RandomVariable* output) {
231 inline void explicitPaddingTranspose(const RandomVariable& input, const RandomVariable& filter,
232 const RandomVariable& stride,
[all …]
H A 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()
H A 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()
H A 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()
H A 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()
H A DFullyConnected.cpp29 RandomVariable numElements = 1; in fullyConnectedConstructor()
H A DConcatSplit.cpp135 RandomVariable outDim; in splitConstructor()
H A DReshape.cpp141 RandomVariable numInputElements = 1; in reshapeConstructor()
142 RandomVariable numOutputElements = 1; in reshapeConstructor()
H A DSelection.cpp198 auto k = op->inputs[1]->value<RandomVariable>(); in topKConstructor()
/aosp12/packages/modules/NeuralNetworks/runtime/test/
H A DAndroid.bp199 "fuzzing/RandomVariable.cpp",
390 "fuzzing/RandomVariable.cpp",
474 "fuzzing/RandomVariable.cpp",