/frameworks/ml/nn/runtime/test/fuzzing/ |
D | RandomGraphGenerator.cpp | 44 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/ |
D | FuzzTest.cpp | 49 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
|
D | FuzzHarness.cpp | 38 bool operandOverflows(const TestOperand& operand) { in operandOverflows()
|
D | Converter.cpp | 73 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()
|
D | GenerateCorpus.cpp | 86 Operand convert(const TestOperand& operand) { in convert() 101 for (const auto& operand : operands) { in convert() local
|
/frameworks/ml/nn/runtime/ |
D | ModelArgumentInfo.cpp | 39 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()
|
D | ModelBuilder.cpp | 118 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 …]
|
D | TypeManager.h | 70 uint32_t getSizeOfData(const hal::Operand& operand) const { in getSizeOfData()
|
D | Memory.cpp | 97 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()
|
D | ModelBuilder.h | 124 const ModelBuilder* getReferencedModel(const hal::Operand& operand) const { in getReferencedModel()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/ |
D | InMatcher.java | 66 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/ |
D | GeneratedTestUtils.cpp | 91 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
|
D | TestGenerated.cpp | 191 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/ |
D | ValidateHal.cpp | 100 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
|
D | BufferTracker.cpp | 38 const Operand& operand) { in create() 51 std::set<PreparedModelRole> roles, const Operand& operand) in ManagedBuffer()
|
D | Utils.cpp | 264 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 …]
|
D | MetaModel.cpp | 104 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()
|
D | ExecutionBurstServer.cpp | 134 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/ |
D | Multinomial.cpp | 43 inline T* GetBuffer(RunTimeOperandInfo* operand) { in GetBuffer() 48 inline const T* GetBuffer(const RunTimeOperandInfo* operand) { in GetBuffer()
|
D | BidirectionalSequenceLSTM.cpp | 38 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()
|
D | QuantizedLSTM.cpp | 40 inline T* GetBuffer(RunTimeOperandInfo* operand) { in GetBuffer() 45 inline const T* GetBuffer(const RunTimeOperandInfo* operand) { in GetBuffer()
|
/frameworks/ml/nn/common/include/ |
D | CpuExecutor.h | 276 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/ |
D | example_generator.py | 102 def GetOperandStruct(operand): argument
|
/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/ |
D | LockFindingClassVisitor.java | 129 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/ |
D | TestHarness.cpp | 203 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
|