Home
last modified time | relevance | path

Searched refs:OutputShape (Results 1 – 25 of 41) sorted by relevance

12

/packages/modules/NeuralNetworks/runtime/
DExecutionBuilder.h105 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 …]
DExecutionCallback.h50 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;
DExecutionBuilder.cpp56 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 …]
DExecutionCallback.cpp29 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()
DExecutionPlan.h297 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;
DManager.cpp191 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 …]
DManager.h56 virtual std::tuple<int, std::vector<OutputShape>, Timing> compute(
78 virtual std::tuple<int, std::vector<OutputShape>, Timing> execute(
/packages/modules/NeuralNetworks/common/include/
DLegacyHalUtils.h184 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);
DExecutionBurstServer.h56 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>,
DExecutionBurstController.h72 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>,
DCpuExecutor.h153 const std::vector<OutputShape>& getOutputShapes() const { in getOutputShapes()
187 std::vector<OutputShape> mOutputShapes;
DLegacyUtils.h258 std::tuple<int, std::vector<OutputShape>, Timing> getExecutionResult(
259 ErrorStatus status, std::vector<OutputShape> outputShapes, Timing timing);
/packages/modules/NeuralNetworks/driver/sample_hidl/
DSampleDriverUtils.cpp73 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()
DSampleDriverUtils.h48 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);
DSampleDriver.cpp411 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/
DExecutionBurstController.cpp151 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>
DExecutionBurstServer.cpp70 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()
DLegacyHalUtils.cpp225 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/
DTypes.h213 struct OutputShape { struct
229 std::vector<OutputShape> outputShapes = {}); argument
237 std::vector<OutputShape> outputShapes;
DValidation.h53 Result<Version> validate(const OutputShape& outputShape);
69 Result<Version> validate(const std::vector<OutputShape>& outputShapes);
DIExecution.h97 virtual ExecutionResult<std::pair<std::vector<OutputShape>, Timing>> compute(
DIBurst.h117 virtual ExecutionResult<std::pair<std::vector<OutputShape>, Timing>> execute(
/packages/modules/NeuralNetworks/tools/api/
DTypes.t132 %insert OutputShape
138 std::vector<OutputShape> outputShapes = {});
146 std::vector<OutputShape> outputShapes;
/packages/modules/NeuralNetworks/driver/sample/
DCanonicalBurst.h41 ExecutionResult<std::pair<std::vector<OutputShape>, Timing>> execute(
DCanonicalBurst.cpp42 ExecutionResult<std::pair<std::vector<OutputShape>, Timing>> Burst::execute( in execute()

12