Home
last modified time | relevance | path

Searched refs:RandomOperandType (Results 1 – 8 of 8) sorted by relevance

/frameworks/ml/nn/runtime/test/fuzzing/
DRandomGraphGenerator.cpp63 if (other.type != RandomOperandType::INPUT) return false; in createEdgeIfValid()
144 output->type = RandomOperandType::INTERNAL; in generateGraph()
155 if (operand->type == RandomOperandType::CONST) return true; in asConstant()
156 if (operand->type != RandomOperandType::INPUT) return false; in asConstant()
187 if (operand->type == RandomOperandType::INPUT) numInputs++; in generateValue()
194 if (operand->type == RandomOperandType::INPUT) numInputs--; in generateValue()
195 operand->type = RandomOperandType::CONST; in generateValue()
197 if (operand->type != RandomOperandType::INTERNAL && in generateValue()
198 operand->type != RandomOperandType::NO_VALUE) { in generateValue()
217 static TestOperandLifeTime convertToTestOperandLifeTime(RandomOperandType type) { in convertToTestOperandLifeTime()
[all …]
DRandomGraphGenerator.h38 enum class RandomOperandType { INPUT = 0, OUTPUT = 1, INTERNAL = 2, CONST = 3, NO_VALUE = 4 }; enum
50 RandomOperandType type;
DOperationManager.h37 RandomOperandType type;
DRandomGraphGeneratorUtils.h203 inline std::string toString<RandomOperandType>(const RandomOperandType& type) {
/frameworks/ml/nn/runtime/test/fuzzing/operation_signatures/
DOperationSignatureUtils.h313 .type = RandomOperandType::INPUT, .constructor = defaultOperandConstructor, \
321 .type = RandomOperandType::INPUT, .constructor = defaultScalarOperandConstructor, \
329 .type = RandomOperandType::INPUT, \
341 .type = RandomOperandType::INPUT, \
371 .type = RandomOperandType::CONST, \
385 .type = RandomOperandType::CONST, \
398 .type = RandomOperandType::CONST, \
409 .type = RandomOperandType::CONST, \
416 .type = RandomOperandType::NO_VALUE, \
423 .type = RandomOperandType::CONST, \
[all …]
DBoundingBox.cpp35 static const OperandSignature kInputRoiTensor = {.type = RandomOperandType::INPUT,
37 static const OperandSignature kOutputRoiTensor = {.type = RandomOperandType::OUTPUT,
DReshape.cpp261 .type = RandomOperandType::CONST,
321 .type = RandomOperandType::CONST,
DSelection.cpp96 .type = RandomOperandType::OUTPUT,