Lines Matching refs:nn

49 nn::GeneralResult<std::shared_ptr<const PreparedModel>> PreparedModel::create(  in create()
67 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>>
77 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>>
91 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> PreparedModel::execute( in execute()
92 const nn::Request& request, nn::MeasureTiming measure, in execute()
93 const nn::OptionalTimePoint& /*deadline*/, in execute()
94 const nn::OptionalDuration& /*loopTimeoutDuration*/) const { in execute()
96 std::optional<nn::Request> maybeRequestInShared; in execute()
98 const nn::Request& requestInShared = in execute()
100 &request, nn::kDefaultRequestMemoryAlignment, nn::kMinMemoryPadding, in execute()
109 nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>>
126 nn::GeneralResult<std::pair<nn::SyncFence, nn::ExecuteFencedInfoCallback>>
127 PreparedModel::executeFenced(const nn::Request& /*request*/, in executeFenced()
128 const std::vector<nn::SyncFence>& /*waitFor*/, in executeFenced()
129 nn::MeasureTiming /*measure*/, in executeFenced()
130 const nn::OptionalTimePoint& /*deadline*/, in executeFenced()
131 const nn::OptionalDuration& /*loopTimeoutDuration*/, in executeFenced()
132 const nn::OptionalDuration& /*timeoutDurationAfterFence*/) const { in executeFenced()
133 return NN_ERROR(nn::ErrorStatus::GENERAL_FAILURE) in executeFenced()
137 nn::GeneralResult<nn::SharedExecution> PreparedModel::createReusableExecution( in createReusableExecution()
138 const nn::Request& request, nn::MeasureTiming measure, in createReusableExecution()
139 const nn::OptionalDuration& /*loopTimeoutDuration*/) const { in createReusableExecution()
141 std::optional<nn::Request> maybeRequestInShared; in createReusableExecution()
143 const nn::Request& requestInShared = NN_TRY(hal::utils::convertRequestFromPointerToShared( in createReusableExecution()
144 &request, nn::kDefaultRequestMemoryAlignment, nn::kMinMemoryPadding, in createReusableExecution()
153 nn::GeneralResult<nn::SharedBurst> PreparedModel::configureExecutionBurst() const { in configureExecutionBurst()
156 const nn::Request& request, nn::MeasureTiming measure, in configureExecutionBurst()
157 const nn::OptionalTimePoint& deadline, in configureExecutionBurst()
158 const nn::OptionalDuration& loopTimeoutDuration) in configureExecutionBurst()
159 -> nn::ExecutionResult<std::pair<std::vector<nn::OutputShape>, nn::Timing>> { in configureExecutionBurst()