Home
last modified time | relevance | path

Searched refs:RandomVariableType (Results 1 – 12 of 12) sorted by relevance

/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/
DConvolutions.cpp49 op->inputs[0]->dimensions = {RandomVariableType::FREE, RandomVariableType::FREE, in conv2DExplicitConstructor()
50 RandomVariableType::FREE, RandomVariableType::FREE}; in conv2DExplicitConstructor()
53 op->inputs[1]->dimensions = {RandomVariableType::FREE, RandomVariableType::FREE, in conv2DExplicitConstructor()
54 RandomVariableType::FREE, op->inputs[0]->dimensions[channelIndex]}; in conv2DExplicitConstructor()
100 op->inputs[0]->dimensions = {RandomVariableType::FREE, RandomVariableType::FREE, in conv2DImplicitConstructor()
101 RandomVariableType::FREE, RandomVariableType::FREE}; in conv2DImplicitConstructor()
104 op->inputs[1]->dimensions = {RandomVariableType::FREE, RandomVariableType::FREE, in conv2DImplicitConstructor()
105 RandomVariableType::FREE, op->inputs[0]->dimensions[channelIndex]}; in conv2DImplicitConstructor()
285 op->inputs[0]->dimensions = {RandomVariableType::FREE, RandomVariableType::FREE, in depthwiseConv2DExplicitConstructor()
286 RandomVariableType::FREE, RandomVariableType::FREE}; in depthwiseConv2DExplicitConstructor()
[all …]
DPoolings.cpp43 op->inputs[0]->dimensions = {RandomVariableType::FREE, RandomVariableType::FREE, in poolingExplicitOpConstructor()
44 RandomVariableType::FREE, RandomVariableType::FREE}; in poolingExplicitOpConstructor()
82 op->inputs[0]->dimensions = {RandomVariableType::FREE, RandomVariableType::FREE, in poolingImplicitOpConstructor()
83 RandomVariableType::FREE, RandomVariableType::FREE}; in poolingImplicitOpConstructor()
DBoundingBox.cpp47 op->inputs[0]->dimensions = {RandomVariableType::FREE, RandomVariableType::FREE, in roiConstructor()
48 RandomVariableType::FREE, RandomVariableType::FREE}; in roiConstructor()
49 op->inputs[1]->dimensions = {RandomVariableType::FREE, 4}; in roiConstructor()
165 RandomVariable heatmapSize = RandomVariableType::FREE; in heatmapMaxKeypointConstructor()
166 RandomVariable numRois = RandomVariableType::FREE; in heatmapMaxKeypointConstructor()
167 RandomVariable numKeypoints = RandomVariableType::FREE; in heatmapMaxKeypointConstructor()
DReshape.cpp32 op->inputs[0]->dimensions = {RandomVariableType::FREE, RandomVariableType::FREE, in spaceToDepthConstructor()
33 RandomVariableType::FREE, RandomVariableType::FREE}; in spaceToDepthConstructor()
85 op->inputs[0]->dimensions = {RandomVariableType::FREE, RandomVariableType::FREE, in depthToSpaceConstructor()
86 RandomVariableType::FREE, RandomVariableType::FREE}; in depthToSpaceConstructor()
136 op->inputs[1]->randomBuffer[i] = RandomVariableType::FREE; in reshapeConstructor()
171 op->inputs[0]->dimensions = {RandomVariableType::FREE, RandomVariableType::FREE, in batchToSpaceConstructor()
172 RandomVariableType::FREE, RandomVariableType::FREE}; in batchToSpaceConstructor()
227 op->inputs[0]->dimensions = {RandomVariableType::FREE, RandomVariableType::FREE, in spaceToBatchConstructor()
228 RandomVariableType::FREE, RandomVariableType::FREE}; in spaceToBatchConstructor()
431 op->inputs[0]->dimensions[i] = RandomVariableType::FREE; in squeezeConstructor()
DFullyConnected.cpp30 op->inputs[0]->dimensions[i] = RandomVariableType::FREE; in fullyConnectedConstructor()
35 op->inputs[1]->dimensions = {RandomVariableType::FREE, RandomVariableType::FREE}; in fullyConnectedConstructor()
DConcatSplit.cpp34 op->inputs[0]->dimensions[i] = RandomVariableType::FREE; in concatConstructor()
38 op->inputs[j]->dimensions[i] = RandomVariableType::FREE; in concatConstructor()
105 op->inputs[0]->dimensions[i] = RandomVariableType::FREE; in splitConstructor()
DSelection.cpp54 op->inputs[0]->dimensions = {RandomVariableType::FREE}; in hashtableLookupConstructor()
55 op->inputs[1]->dimensions = {RandomVariableType::FREE}; in hashtableLookupConstructor()
61 op->inputs[2]->dimensions[i] = RandomVariableType::FREE; in hashtableLookupConstructor()
258 op->outputs[0]->dimensions.push_back(RandomVariableType::FREE); in stridedSliceConstructor()
DOperationSignatureUtils.h203 for (uint32_t i = 0; i < rank; i++) op->dimensions[i] = RandomVariableType::FREE;
341 op->randomBuffer = {RandomVariableType::FREE}; \
DBroadcast.cpp30 op->inputs[0]->dimensions[i] = RandomVariableType::FREE; in broadcastOpConstructor()
/frameworks/ml/nn/runtime/test/fuzzing/
DRandomVariable.cpp37 type(RandomVariableType::CONST), in RandomVariableBase()
44 type(RandomVariableType::FREE), in RandomVariableBase()
50 type(RandomVariableType::FREE), in RandomVariableBase()
57 type(RandomVariableType::OP), in RandomVariableBase()
90 if (type == RandomVariableType::CONST) return; in freeze()
92 type = RandomVariableType::CONST; in freeze()
97 case RandomVariableType::CONST: in getValue()
99 case RandomVariableType::OP: in getValue()
125 RandomVariable::RandomVariable(RandomVariableType type) in RandomVariable()
127 NN_FUZZER_CHECK(type == RandomVariableType::FREE); in RandomVariable()
[all …]
DRandomGraphGeneratorUtils.h297 inline std::string toString<RandomVariableType>(const RandomVariableType& type) {
324 case RandomVariableType::FREE:
327 case RandomVariableType::CONST:
330 case RandomVariableType::OP:
DRandomVariable.h91 enum class RandomVariableType { FREE = 0, CONST = 1, OP = 2 }; enum
98 RandomVariableType type;
152 /* implicit */ RandomVariable(RandomVariableType type);