Lines Matching refs:vector
118 const std::vector<Extension>& getSupportedExtensions() const override { in getSupportedExtensions()
121 std::vector<bool> getSupportedOperations(const MetaModel& metaModel) const override;
159 const std::vector<TokenValuePair>& metaData,
160 const std::vector<ExtensionNameAndPrefix>& extensionNameAndPrefix) const override;
168 GeneralResult<std::vector<bool>> getSupportedOperationsImpl(const MetaModel& metaModel) const;
193 std::tuple<int, std::vector<OutputShape>, Timing> execute(
194 const std::vector<ModelArgumentInfo>& inputs,
195 const std::vector<ModelArgumentInfo>& outputs,
196 const std::vector<const RuntimeMemory*>& memories, const SharedBurst& burstController,
199 const std::vector<TokenValuePair>& metaData) const override;
202 const std::vector<ModelArgumentInfo>& inputs,
203 const std::vector<ModelArgumentInfo>& outputs,
204 const std::vector<const RuntimeMemory*>& memories, const std::vector<int>& waitFor,
208 const std::vector<TokenValuePair>& metaData) const override;
211 const std::vector<ModelArgumentInfo>& inputs,
212 const std::vector<ModelArgumentInfo>& outputs,
213 const std::vector<const RuntimeMemory*>& memories, MeasureTiming measure,
215 const std::vector<TokenValuePair>& metaData) const override;
239 std::vector<const RuntimeMemory*> memories, MeasureTiming measure, in DriverExecution()
241 const std::vector<TokenValuePair>& metaData) in DriverExecution()
252 std::tuple<int, std::vector<OutputShape>, Timing> compute(
256 const std::vector<int>& waitFor, const OptionalTimePoint& deadline,
264 const std::vector<const RuntimeMemory*> kMemories;
273 std::vector<TokenValuePair> kMetaData;
322 GeneralResult<std::vector<bool>> DriverDevice::getSupportedOperationsImpl( in getSupportedOperationsImpl()
331 const std::vector<bool> supported = NN_TRY(kInterface->getSupportedOperations(sliceModel)); in getSupportedOperationsImpl()
340 std::vector<bool> remappedSupported(operationCount, false); in getSupportedOperationsImpl()
349 std::vector<bool> DriverDevice::getSupportedOperations(const MetaModel& metaModel) const { in getSupportedOperations()
357 return std::vector<bool>(model.main.operations.size(), false); in getSupportedOperations()
360 std::vector<bool>& supportedOperations = result.value(); in getSupportedOperations()
375 auto accumulateOperands = [&model, &accumulator](const std::vector<uint32_t>& operands) { in getSupportedOperations()
416 static GeneralResult<std::vector<SharedHandle>> createCacheHandleVec( in createCacheHandleVec()
419 std::vector<SharedHandle> handles; in createCacheHandleVec()
462 std::vector<SharedHandle> modelCache = in getCacheHandles()
466 std::vector<SharedHandle> dataCache = in getCacheHandles()
487 const std::optional<CacheToken>& maybeToken, const std::vector<TokenValuePair>& metaData, in prepareModel()
488 const std::vector<ExtensionNameAndPrefix>& extensionNameAndPrefix) const { in prepareModel()
540 std::vector<SharedPreparedModel> preparedModels(desc.preparedModels.size()); in allocate()
557 static Request createDriverRequest(const std::vector<ModelArgumentInfo>& inputs, in createDriverRequest()
558 const std::vector<ModelArgumentInfo>& outputs, in createDriverRequest()
559 const std::vector<const RuntimeMemory*>& memories) { in createDriverRequest()
579 std::tuple<int, std::vector<OutputShape>, Timing> DriverPreparedModel::execute( in execute()
580 const std::vector<ModelArgumentInfo>& inputs, const std::vector<ModelArgumentInfo>& outputs, in execute()
581 const std::vector<const RuntimeMemory*>& memories, const SharedBurst& burstController, in execute()
584 const std::vector<TokenValuePair>& metaData) const { in execute()
591 ExecutionResult<std::pair<std::vector<OutputShape>, Timing>> result; in execute()
613 std::vector<OutputShape> outputShapes; in execute()
636 const std::vector<ModelArgumentInfo>& inputs, const std::vector<ModelArgumentInfo>& outputs, in executeFenced()
637 const std::vector<const RuntimeMemory*>& memories, const std::vector<int>& waitFor, in executeFenced()
641 const std::vector<TokenValuePair>& metaData) const { in executeFenced()
649 std::vector<SyncFence> waitForHandles; in executeFenced()
712 const std::vector<ModelArgumentInfo>& inputs, const std::vector<ModelArgumentInfo>& outputs, in createReusableExecution()
713 const std::vector<const RuntimeMemory*>& memories, MeasureTiming measure, in createReusableExecution()
715 const std::vector<TokenValuePair>& metaData) const { in createReusableExecution()
733 std::tuple<int, std::vector<OutputShape>, Timing> DriverExecution::compute( in compute()
790 const std::vector<int>& waitFor, const OptionalTimePoint& deadline, in computeFenced()
795 std::vector<SyncFence> waitForHandles; in computeFenced()
872 const std::vector<Extension>& getSupportedExtensions() const override { in getSupportedExtensions()
875 std::vector<bool> getSupportedOperations(const MetaModel& metaModel) const override;
898 const std::vector<TokenValuePair>& metaData,
899 const std::vector<ExtensionNameAndPrefix>& extensionNameAndPrefix) const override;
917 const std::vector<Extension> kSupportedExtensions{/* No extensions. */};
931 std::tuple<int, std::vector<OutputShape>, Timing> execute(
932 const std::vector<ModelArgumentInfo>& inputs,
933 const std::vector<ModelArgumentInfo>& outputs,
934 const std::vector<const RuntimeMemory*>& memories, const SharedBurst& burstController,
937 const std::vector<TokenValuePair>& metaData) const override;
942 const std::vector<ModelArgumentInfo>& inputs,
943 const std::vector<ModelArgumentInfo>& outputs,
944 const std::vector<const RuntimeMemory*>& memories, const std::vector<int>& waitFor,
948 const std::vector<TokenValuePair>& metaData) const override;
951 const std::vector<ModelArgumentInfo>& inputs,
952 const std::vector<ModelArgumentInfo>& outputs,
953 const std::vector<const RuntimeMemory*>& memories, MeasureTiming measure,
955 const std::vector<TokenValuePair>& metaData) const override;
962 CpuPreparedModel(Model model, std::vector<RunTimePoolInfo> poolInfos) in CpuPreparedModel()
966 const std::vector<RunTimePoolInfo>& getModelPoolInfos() const { return mModelPoolInfos; } in getModelPoolInfos()
974 const std::vector<RunTimePoolInfo> mModelPoolInfos;
980 std::vector<RunTimePoolInfo> requestPoolInfos, in CpuExecution()
987 std::tuple<int, std::vector<OutputShape>, Timing> compute(
991 const std::vector<int>& waitFor, const OptionalTimePoint& deadline,
997 std::vector<RunTimePoolInfo> kRequestPoolInfos;
1001 std::vector<bool> CpuDevice::getSupportedOperations(const MetaModel& metaModel) const { in getSupportedOperations()
1004 std::vector<bool> result(count, false); in getSupportedOperations()
1030 const std::vector<TokenValuePair>& /*metaData*/, in prepareModel()
1031 const std::vector<ExtensionNameAndPrefix>& /*extensionNameAndPrefix*/) const { in prepareModel()
1066 std::vector<RunTimePoolInfo> poolInfos; in create()
1076 static std::tuple<int, std::vector<OutputShape>, Timing> computeOnCpu( in computeOnCpu()
1078 const std::vector<RunTimePoolInfo>& modelPoolInfos, in computeOnCpu()
1079 const std::vector<RunTimePoolInfo>& requestPoolInfos, const OptionalTimePoint& deadline, in computeOnCpu()
1095 const std::vector<ModelArgumentInfo>& inputs, const std::vector<ModelArgumentInfo>& outputs, in executeFenced()
1096 const std::vector<const RuntimeMemory*>& memories, const std::vector<int>& waitFor, in executeFenced()
1099 const std::vector<TokenValuePair>& /*metaData*/) const { in executeFenced()
1126 static std::tuple<int, Request, std::vector<RunTimePoolInfo>> createCpuRequest( in createCpuRequest()
1127 const std::vector<ModelArgumentInfo>& inputs, const std::vector<ModelArgumentInfo>& outputs, in createCpuRequest()
1128 const std::vector<const RuntimeMemory*>& memories) { in createCpuRequest()
1129 std::vector<RunTimePoolInfo> requestPoolInfos; in createCpuRequest()
1140 [&requestPoolInfos](const std::vector<ModelArgumentInfo>& argumentInfos) { in createCpuRequest()
1141 std::vector<DataLocation> ptrArgsLocations; in createCpuRequest()
1155 const std::vector<DataLocation> inputPtrArgsLocations = fixPointerArguments(inputs); in createCpuRequest()
1156 const std::vector<DataLocation> outputPtrArgsLocations = fixPointerArguments(outputs); in createCpuRequest()
1171 std::tuple<int, std::vector<OutputShape>, Timing> CpuPreparedModel::execute( in execute()
1172 const std::vector<ModelArgumentInfo>& inputs, const std::vector<ModelArgumentInfo>& outputs, in execute()
1173 const std::vector<const RuntimeMemory*>& memories, const SharedBurst& /*burstController*/, in execute()
1176 const std::vector<TokenValuePair>& /*metaData*/) const { in execute()
1183 std::vector<RunTimePoolInfo> requestPoolInfos; in execute()
1194 std::tuple<int, std::vector<OutputShape>, Timing> result = {}; in execute()
1207 const std::vector<ModelArgumentInfo>& inputs, const std::vector<ModelArgumentInfo>& outputs, in createReusableExecution()
1208 const std::vector<const RuntimeMemory*>& memories, MeasureTiming /*measure*/, in createReusableExecution()
1210 const std::vector<TokenValuePair>& /*metaData*/) const { in createReusableExecution()
1220 std::tuple<int, std::vector<OutputShape>, Timing> CpuExecution::compute( in compute()
1230 std::tuple<int, std::vector<OutputShape>, Timing> result = {}; in compute()
1244 const std::vector<int>& waitFor, const OptionalTimePoint& deadline, in computeFenced()
1292 std::vector<std::shared_ptr<DriverDevice>> getDriverDevices( in getDriverDevices()
1297 std::vector<std::shared_ptr<DriverDevice>> driverDevices; in getDriverDevices()
1308 std::vector<std::shared_ptr<DriverDevice>> getDriverDevices( in getDriverDevices()
1311 std::vector<std::shared_ptr<DriverDevice>> driverDevices; in getDriverDevices()