Home
last modified time | relevance | path

Searched defs:operand (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/ml/nn/runtime/test/fuzzing/
DRandomGraphGenerator.cpp44 RandomOperand::RandomOperand(const OperandSignature& operand, TestOperandType dataType, in RandomOperand()
154 static bool asConstant(const std::shared_ptr<RandomOperand>& operand, float prob = 0.5f) { in asConstant()
186 for (auto& operand : mOperands) { in generateValue() local
190 auto requiresBufferAllocation = [](std::shared_ptr<RandomOperand>& operand) -> bool { in generateValue()
195 for (auto& operand : mOperands) { in generateValue() local
216 for (auto operand : operation.inputs) { in generateValue() local
223 for (auto& operand : operation.outputs) { in generateValue() local
255 for (auto& operand : mOperands) { in createTestModel() local
/frameworks/ml/nn/runtime/test/android_fuzzing/
DFuzzTest.cpp49 for (const auto& operand : testModel.main.operands) { in CreateModel() local
109 const auto& operand = testModel.main.operands[testModel.main.inputIndexes[i]]; in CreateExecution() local
118 const auto& operand = testModel.main.operands[testModel.main.outputIndexes[i]]; in CreateExecution() local
DFuzzHarness.cpp38 bool operandOverflows(const TestOperand& operand) { in operandOverflows()
DConverter.cpp73 TestOperand convert(const Operand& operand) { in convert()
105 [](const auto& operand) { return convert(operand); }); in convert()
134 const auto addConsumer = [operands](uint32_t operand) { in calculateNumberOfConsumers()
DGenerateCorpus.cpp86 Operand convert(const TestOperand& operand) { in convert()
101 for (const auto& operand : operands) { in convert() local
/frameworks/ml/nn/runtime/
DModelArgumentInfo.cpp39 const Operand& operand, const ANeuralNetworksOperandType* type, void* data, in createFromPointer()
72 const Operand& operand, const ANeuralNetworksOperandType* type, uint32_t poolIndex, in createFromMemory()
95 int ModelArgumentInfo::updateDimensionInfo(const Operand& operand, in updateDimensionInfo()
DModelBuilder.cpp118 Operand& operand = mOperands[index]; in setOperandValue() local
193 Operand& operand = mOperands[index]; in setOperandValueFromModel() local
216 Operand& operand = mOperands[index]; in setOperandSymmPerChannelQuantParams() local
249 Operand& operand = mOperands[index]; in setOperandExtensionData() local
285 Operand& operand = mOperands[l.operandIndex]; in copyLargeValuesToSharedMemory() local
303 Operand& operand = mOperands[l.operandIndex]; in copyLargeValuesToSharedMemory() local
324 Operand& operand = mOperands[index]; in setOperandValueFromMemory() local
453 Operand& operand = mOperands[operandIndex]; in identifyInputsAndOutputs() local
584 static bool matchesSpec(TailSpec spec, const Operand& operand, in matchesSpec()
621 const Operand& operand = operands[operation.inputs[i]]; in countMatchingTrailingArguments() local
[all …]
DTypeManager.h70 uint32_t getSizeOfData(const hal::Operand& operand) const { in getSizeOfData()
DMemory.cpp97 DeviceMemoryValidator(std::set<CompilationRole> roles, Operand operand, in DeviceMemoryValidator()
352 Operand operand; in addRole() local
422 static void logMemoryDescriptorToInfo(const MemoryDescriptor& desc, const Operand& operand) { in logMemoryDescriptorToInfo()
DModelBuilder.h124 const ModelBuilder* getReferencedModel(const hal::Operand& operand) const { in getReferencedModel()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DInMatcher.java66 public static <T> Matcher<T> in(T... operand) { in in()
71 public static <T> Matcher<T> in(Collection<T> operand) { in in()
/frameworks/ml/nn/runtime/test/
DGeneratedTestUtils.cpp91 for (const TestOperand& operand : subgraph.operands) { in createConstantReferenceMemory() local
110 for (const auto& operand : subgraph.operands) { in createModelFromSubgraph() local
184 const auto& operand = testModel.main.operands[testModel.main.inputIndexes[i]]; in createRequest() local
191 const auto& operand = testModel.main.operands[testModel.main.outputIndexes[i]]; in createRequest() local
DTestGenerated.cpp191 const auto& operand = testModel.main.operands[testModel.main.inputIndexes[i]]; in computeWithDeviceMemories() local
226 const auto& operand = testModel.main.operands[testModel.main.outputIndexes[i]]; in computeWithDeviceMemories() local
/frameworks/ml/nn/common/
DValidateHal.cpp100 static bool validateOperandExtraParams(const V1_3::Operand& operand, uint32_t index) { in validateOperandExtraParams()
182 V1_3::Operand operand = convertToV1_3(versionedOperand); in validateOperands() local
506 const Operand& operand = operands[i]; in validateOperations() local
558 const Operand& operand = operands[i]; in validateModelInputOutputs() local
598 const auto& operand = model.operands[i]; in validateGraph() local
675 for (const Operand& operand : subgraph.operands) { in checkNoReferenceCycles() local
763 const Operand& operand = operands[operandIndex]; in validateRequestArguments() local
901 for (const auto& operand : operands) { in validateMemoryDesc() local
DBufferTracker.cpp38 const Operand& operand) { in create()
51 std::set<PreparedModelRole> roles, const Operand& operand) in ManagedBuffer()
DUtils.cpp264 const Operand* operand = getInputOperand(index); in getInputShape() local
278 const Operand* operand = getOutputOperand(index); in getOutputShape() local
424 bool tensorHasUnspecifiedDimensions(const Operand& operand) { in tensorHasUnspecifiedDimensions()
714 static bool validateConditionOperand(const Operand& operand) { in validateConditionOperand()
766 const Operand& operand) { in validateControlFlowOperandUnknownSize()
2496 bool compliantWithV1_0(const V1_3::Operand& operand) { in compliantWithV1_0()
2503 bool compliantWithV1_2(const V1_3::Operand& operand) { in compliantWithV1_2()
2508 bool compliantWithV1_3(const V1_3::Operand& operand) { in compliantWithV1_3()
2856 V1_0::Operand convertToV1_0(const V1_2::Operand& operand) { in convertToV1_0()
2866 V1_0::Operand convertToV1_0(const V1_3::Operand& operand) { in convertToV1_0()
[all …]
DMetaModel.cpp104 hal::V1_0::Operand convertTo<hal::V1_0::Operand>(Operand operand) { in convertTo()
108 hal::V1_2::Operand convertTo<hal::V1_2::Operand>(Operand operand) { in convertTo()
244 uint32_t getIndex(Operand operand) { in getIndex()
DExecutionBurstServer.cpp134 for (const auto& operand : outputShapes) { in serialize() local
193 for (size_t operand = 0; operand < numberOfInputOperands; ++operand) { in deserialize() local
234 for (size_t operand = 0; operand < numberOfOutputOperands; ++operand) { in deserialize() local
/frameworks/ml/nn/common/operations/
DMultinomial.cpp43 inline T* GetBuffer(RunTimeOperandInfo* operand) { in GetBuffer()
48 inline const T* GetBuffer(const RunTimeOperandInfo* operand) { in GetBuffer()
DBidirectionalSequenceLSTM.cpp38 inline T* GetBuffer(RunTimeOperandInfo* operand) { in GetBuffer()
43 inline const T* GetBuffer(const RunTimeOperandInfo* operand) { in GetBuffer()
48 inline const T* GetOptionalBuffer(const RunTimeOperandInfo* operand) { in GetOptionalBuffer()
DQuantizedLSTM.cpp40 inline T* GetBuffer(RunTimeOperandInfo* operand) { in GetBuffer()
45 inline const T* GetBuffer(const RunTimeOperandInfo* operand) { in GetBuffer()
/frameworks/ml/nn/common/include/
DCpuExecutor.h276 inline size_t NumDimensions(const RunTimeOperandInfo* operand) { in NumDimensions()
280 inline uint32_t SizeOfDimension(const RunTimeOperandInfo* operand, int i) { in SizeOfDimension()
/frameworks/ml/nn/tools/test_generator/
Dexample_generator.py102 def GetOperandStruct(operand): argument
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
DLockFindingClassVisitor.java129 BasicValue operand = (BasicValue) f.getStack(f.getStackSize() - 1); in visitEnd() local
143 BasicValue operand = (BasicValue) f.getStack(f.getStackSize() - 1); in visitEnd() local
/frameworks/ml/nn/tools/test_generator/test_harness/
DTestHarness.cpp203 const auto& operand = model.main.operands[outputIndex]; in checkResults() local
606 void SpecDumper::dumpTestOperand(const TestOperand& operand, uint32_t index) { in dumpTestOperand()
662 const auto& operand = kTestModel.main.operands[i]; in dumpTestModel() local
685 const auto& operand = kTestModel.main.operands[outputIndex]; in dumpResults() local

12