/packages/modules/NeuralNetworks/runtime/ |
D | ExecutionBuilder.h | 105 std::vector<OutputShape> getInitialOutputShapes() const; 125 int finishComputation(int result, const std::vector<OutputShape>& outputShapes, 127 ErrorStatus finishComputation(ErrorStatus error, const std::vector<OutputShape>& outputShapes, in finishComputation() 170 virtual std::tuple<int, std::vector<OutputShape>, Timing> computeInternal( 184 bool updateOutputShapes(ErrorStatus status, const std::vector<OutputShape>& outputShapes); 290 std::tuple<int, std::vector<OutputShape>, Timing> computeInternal( 306 std::tuple<int, std::vector<OutputShape>, Timing> computeInternal( 365 bool updateOutputShapes(int executionResultCode, const std::vector<OutputShape>& from, 366 std::vector<OutputShape>* to, UpdateOutputShapes* update); 403 std::tuple<int, std::vector<OutputShape>, Timing> compute( [all …]
|
D | ExecutionCallback.h | 50 std::function<ErrorStatus(ErrorStatus, const std::vector<OutputShape>&)>; 85 void notify(ErrorStatus status, const std::vector<OutputShape>& outputShapes, 139 const std::vector<OutputShape>& getOutputShapes() const; 208 void notifyInternal(ErrorStatus errorStatus, std::vector<OutputShape> outputShapes, 218 std::vector<OutputShape> mOutputShapes;
|
D | ExecutionBuilder.cpp | 56 const std::vector<OutputShape>& shapes) { in validateOutputShapesFromDriver() 71 [](const OutputShape& shape) { return shape.isSufficient; })) in validateOutputShapesFromDriver() 93 [](const OutputShape& shape) { return !shape.isSufficient; })) in validateOutputShapesFromDriver() 108 const std::vector<OutputShape>& shapes) { in validateOutputShapesFromDriver() 642 static std::tuple<int, std::vector<OutputShape>, Timing> cpuFallbackFull( in cpuFallbackFull() 663 static std::tuple<int, std::vector<OutputShape>, Timing, std::shared_ptr<StepExecutor>> 682 std::tuple<int, std::vector<OutputShape>, Timing> SimpleExecutionBuilder::computeInternal( in computeInternal() 718 std::tuple<int, std::vector<OutputShape>, Timing> CompoundExecutionBuilder::computeInternal( in computeInternal() 724 std::vector<OutputShape> outputShapes = getInitialOutputShapes(); in computeInternal() 1114 [this, mode](ErrorStatus error, const std::vector<OutputShape>& outputShapes) { in compute() [all …]
|
D | ExecutionCallback.cpp | 29 void ExecutionCallback::notify(ErrorStatus status, const std::vector<OutputShape>& outputShapes, in notify() 59 const std::vector<OutputShape>& ExecutionCallback::getOutputShapes() const { in getOutputShapes() 115 std::vector<OutputShape> outputShapes, Timing timing) { in notifyInternal()
|
D | ExecutionPlan.h | 297 const std::vector<OutputShape>* mainModelOutputShapes, 690 SharedBurst* burstController, const std::vector<OutputShape>* mainModelOutputShapes, 696 const std::vector<OutputShape>* mainModelOutputShapes) const; 818 const std::vector<OutputShape>* mainModelOutputShapes) const; 821 const std::vector<OutputShape>* mainModelOutputShapes) const; 824 const std::vector<OutputShape>* mainModelOutputShapes) const; 827 const std::vector<OutputShape>* mainModelOutputShapes) const; 830 const std::vector<OutputShape>* mainModelOutputShapes) const;
|
D | Manager.cpp | 191 std::tuple<int, std::vector<OutputShape>, Timing> execute( 250 std::tuple<int, std::vector<OutputShape>, Timing> compute( 577 std::tuple<int, std::vector<OutputShape>, Timing> DriverPreparedModel::execute( in execute() 589 ExecutionResult<std::pair<std::vector<OutputShape>, Timing>> result; in execute() 611 std::vector<OutputShape> outputShapes; in execute() 731 std::tuple<int, std::vector<OutputShape>, Timing> DriverExecution::compute( in compute() 929 std::tuple<int, std::vector<OutputShape>, Timing> execute( 985 std::tuple<int, std::vector<OutputShape>, Timing> compute( 1074 static std::tuple<int, std::vector<OutputShape>, Timing> computeOnCpu( in computeOnCpu() 1169 std::tuple<int, std::vector<OutputShape>, Timing> CpuPreparedModel::execute( in execute() [all …]
|
D | Manager.h | 56 virtual std::tuple<int, std::vector<OutputShape>, Timing> compute( 78 virtual std::tuple<int, std::vector<OutputShape>, Timing> execute(
|
/packages/modules/NeuralNetworks/common/include/ |
D | LegacyHalUtils.h | 184 std::tuple<int, std::vector<OutputShape>, Timing> getExecutionResult( 185 V1_3::ErrorStatus status, const hardware::hidl_vec<V1_2::OutputShape>& outputShapes, 357 OutputShape uncheckedConvert(const V1_2::OutputShape& outputShape); 366 std::vector<OutputShape> uncheckedConvert( 367 const hardware::hidl_vec<V1_2::OutputShape>& outputShapes); 376 hardware::hidl_vec<V1_2::OutputShape> convertToV1_2(const std::vector<OutputShape>& outputShapes); 385 V1_2::OutputShape convertToV1_2(const OutputShape& outputShape);
|
D | ExecutionBurstServer.h | 56 const std::vector<hardware::neuralnetworks::V1_2::OutputShape>& outputShapes, 164 const std::vector<hardware::neuralnetworks::V1_2::OutputShape>& outputShapes, 247 hardware::hidl_vec<hardware::neuralnetworks::V1_2::OutputShape>,
|
D | ExecutionBurstController.h | 72 std::vector<hardware::neuralnetworks::V1_2::OutputShape>, 127 std::vector<hardware::neuralnetworks::V1_2::OutputShape>, 321 std::tuple<int, std::vector<hardware::neuralnetworks::V1_2::OutputShape>,
|
D | CpuExecutor.h | 153 const std::vector<OutputShape>& getOutputShapes() const { in getOutputShapes() 187 std::vector<OutputShape> mOutputShapes;
|
D | LegacyUtils.h | 258 std::tuple<int, std::vector<OutputShape>, Timing> getExecutionResult( 259 ErrorStatus status, std::vector<OutputShape> outputShapes, Timing timing);
|
/packages/modules/NeuralNetworks/driver/sample_hidl/ |
D | SampleDriverUtils.cpp | 73 const hardware::hidl_vec<V1_2::OutputShape>&, V1_2::Timing) { in notify() argument 81 const hardware::hidl_vec<V1_2::OutputShape>& outputShapes, V1_2::Timing timing) { in notify() 89 const hardware::hidl_vec<V1_2::OutputShape>& outputShapes, V1_2::Timing timing) { in notify()
|
D | SampleDriverUtils.h | 48 const hardware::hidl_vec<V1_2::OutputShape>&, V1_2::Timing); 51 const hardware::hidl_vec<V1_2::OutputShape>& outputShapes, V1_2::Timing timing); 54 const hardware::hidl_vec<V1_2::OutputShape>& outputShapes, V1_2::Timing timing);
|
D | SampleDriver.cpp | 411 const hardware::hidl_vec<V1_2::OutputShape>& outputShapes) { in updateDeviceMemories() 482 hardware::hidl_vec<V1_2::OutputShape> outputShapes = convertToV1_2(executor.getOutputShapes()); in asyncExecute() 568 static std::tuple<V1_3::ErrorStatus, hardware::hidl_vec<V1_2::OutputShape>, V1_2::Timing> 614 hardware::hidl_vec<V1_2::OutputShape> outputShapes = convertToV1_2(executor.getOutputShapes()); in executeSynchronouslyBase() 784 std::tuple<V1_0::ErrorStatus, hardware::hidl_vec<V1_2::OutputShape>, V1_2::Timing> execute( in execute() 831 hardware::hidl_vec<V1_2::OutputShape> outputShapes = in execute()
|
/packages/modules/NeuralNetworks/common/ |
D | ExecutionBurstController.cpp | 151 std::optional<std::tuple<V1_0::ErrorStatus, std::vector<V1_2::OutputShape>, V1_2::Timing>> 155 std::vector<V1_2::OutputShape> outputShapes; in deserialize() 260 std::optional<std::tuple<V1_0::ErrorStatus, std::vector<V1_2::OutputShape>, V1_2::Timing>> 585 static std::tuple<int, std::vector<V1_2::OutputShape>, V1_2::Timing, bool> getExecutionResult( in getExecutionResult() 586 V1_0::ErrorStatus status, std::vector<V1_2::OutputShape> outputShapes, V1_2::Timing timing, in getExecutionResult() 593 std::tuple<int, std::vector<V1_2::OutputShape>, V1_2::Timing, bool>
|
D | ExecutionBurstServer.cpp | 70 std::tuple<V1_0::ErrorStatus, hardware::hidl_vec<V1_2::OutputShape>, V1_2::Timing> execute( in execute() 84 hardware::hidl_vec<V1_2::OutputShape> returnedOutputShapes; in execute() 88 const hardware::hidl_vec<V1_2::OutputShape>& outputShapes, in execute() 115 const std::vector<V1_2::OutputShape>& outputShapes, in serialize() 477 const std::vector<V1_2::OutputShape>& outputShapes, in send()
|
D | LegacyHalUtils.cpp | 225 std::tuple<int, std::vector<OutputShape>, Timing> getExecutionResult( in getExecutionResult() 226 V1_3::ErrorStatus status, const hardware::hidl_vec<V1_2::OutputShape>& outputShapes, in getExecutionResult() 1584 OutputShape uncheckedConvert(const V1_2::OutputShape& outputShape) { in uncheckedConvert() 1588 std::vector<OutputShape> uncheckedConvert( in uncheckedConvert() 1589 const hardware::hidl_vec<V1_2::OutputShape>& outputShapes) { in uncheckedConvert() 1590 return convertVec<OutputShape>(outputShapes); in uncheckedConvert() 1707 V1_2::OutputShape convertToV1_2(const OutputShape& outputShape) { in convertToV1_2() 1711 hardware::hidl_vec<V1_2::OutputShape> convertToV1_2(const std::vector<OutputShape>& outputShapes) { in convertToV1_2() 1712 return convertVecToV1_2<V1_2::OutputShape>(outputShapes); in convertToV1_2()
|
/packages/modules/NeuralNetworks/common/types/include/nnapi/ |
D | Types.h | 213 struct OutputShape { struct 229 std::vector<OutputShape> outputShapes = {}); argument 237 std::vector<OutputShape> outputShapes;
|
D | Validation.h | 53 Result<Version> validate(const OutputShape& outputShape); 69 Result<Version> validate(const std::vector<OutputShape>& outputShapes);
|
D | IExecution.h | 97 virtual ExecutionResult<std::pair<std::vector<OutputShape>, Timing>> compute(
|
D | IBurst.h | 117 virtual ExecutionResult<std::pair<std::vector<OutputShape>, Timing>> execute(
|
/packages/modules/NeuralNetworks/tools/api/ |
D | Types.t | 132 %insert OutputShape 138 std::vector<OutputShape> outputShapes = {}); 146 std::vector<OutputShape> outputShapes;
|
/packages/modules/NeuralNetworks/driver/sample/ |
D | CanonicalBurst.h | 41 ExecutionResult<std::pair<std::vector<OutputShape>, Timing>> execute(
|
D | CanonicalBurst.cpp | 42 ExecutionResult<std::pair<std::vector<OutputShape>, Timing>> Burst::execute( in execute()
|