Lines Matching refs:vector
76 const std::vector<Extension>& getSupportedExtensions() const override { in getSupportedExtensions()
79 std::vector<bool> getSupportedOperations(const MetaModel& metaModel) const override;
125 GeneralResult<std::vector<bool>> getSupportedOperationsImpl(const MetaModel& metaModel) const;
150 std::tuple<int, std::vector<OutputShape>, Timing> execute(
151 const std::vector<ModelArgumentInfo>& inputs,
152 const std::vector<ModelArgumentInfo>& outputs,
153 const std::vector<const RuntimeMemory*>& memories, const SharedBurst& burstController,
158 const std::vector<ModelArgumentInfo>& inputs,
159 const std::vector<ModelArgumentInfo>& outputs,
160 const std::vector<const RuntimeMemory*>& memories, const std::vector<int>& waitFor,
166 const std::vector<ModelArgumentInfo>& inputs,
167 const std::vector<ModelArgumentInfo>& outputs,
168 const std::vector<const RuntimeMemory*>& memories, MeasureTiming measure,
193 std::vector<const RuntimeMemory*> memories, MeasureTiming measure, in DriverExecution()
204 std::tuple<int, std::vector<OutputShape>, Timing> compute(
208 const std::vector<int>& waitFor, const OptionalTimePoint& deadline,
216 const std::vector<const RuntimeMemory*> kMemories;
265 GeneralResult<std::vector<bool>> DriverDevice::getSupportedOperationsImpl( in getSupportedOperationsImpl()
274 const std::vector<bool> supported = NN_TRY(kInterface->getSupportedOperations(sliceModel)); in getSupportedOperationsImpl()
283 std::vector<bool> remappedSupported(operationCount, false); in getSupportedOperationsImpl()
292 std::vector<bool> DriverDevice::getSupportedOperations(const MetaModel& metaModel) const { in getSupportedOperations()
300 return std::vector<bool>(model.main.operations.size(), false); in getSupportedOperations()
303 std::vector<bool>& supportedOperations = result.value(); in getSupportedOperations()
318 auto accumulateOperands = [&model, &accumulator](const std::vector<uint32_t>& operands) { in getSupportedOperations()
354 std::vector<base::unique_fd> fds; in createCacheHandle()
364 static GeneralResult<std::vector<SharedHandle>> createCacheHandleVec( in createCacheHandleVec()
367 std::vector<SharedHandle> handles; in createCacheHandleVec()
410 std::vector<SharedHandle> modelCache = in getCacheHandles()
414 std::vector<SharedHandle> dataCache = in getCacheHandles()
485 std::vector<SharedPreparedModel> preparedModels(desc.preparedModels.size()); in allocate()
502 static Request createDriverRequest(const std::vector<ModelArgumentInfo>& inputs, in createDriverRequest()
503 const std::vector<ModelArgumentInfo>& outputs, in createDriverRequest()
504 const std::vector<const RuntimeMemory*>& memories) { in createDriverRequest()
524 std::tuple<int, std::vector<OutputShape>, Timing> DriverPreparedModel::execute( in execute()
525 const std::vector<ModelArgumentInfo>& inputs, const std::vector<ModelArgumentInfo>& outputs, in execute()
526 const std::vector<const RuntimeMemory*>& memories, const SharedBurst& burstController, in execute()
535 ExecutionResult<std::pair<std::vector<OutputShape>, Timing>> result; in execute()
556 std::vector<OutputShape> outputShapes; in execute()
579 const std::vector<ModelArgumentInfo>& inputs, const std::vector<ModelArgumentInfo>& outputs, in executeFenced()
580 const std::vector<const RuntimeMemory*>& memories, const std::vector<int>& waitFor, in executeFenced()
591 std::vector<SyncFence> waitForHandles; in executeFenced()
650 const std::vector<ModelArgumentInfo>& inputs, const std::vector<ModelArgumentInfo>& outputs, in createReusableExecution()
651 const std::vector<const RuntimeMemory*>& memories, MeasureTiming measure, in createReusableExecution()
668 std::tuple<int, std::vector<OutputShape>, Timing> DriverExecution::compute( in compute()
724 const std::vector<int>& waitFor, const OptionalTimePoint& deadline, in computeFenced()
729 std::vector<SyncFence> waitForHandles; in computeFenced()
807 std::vector<Capabilities::OperandPerformance> operandPerformance; in createCpuCapabilities()
841 const std::vector<Extension>& getSupportedExtensions() const override { in getSupportedExtensions()
844 std::vector<bool> getSupportedOperations(const MetaModel& metaModel) const override;
884 const std::vector<Extension> kSupportedExtensions{/* No extensions. */};
898 std::tuple<int, std::vector<OutputShape>, Timing> execute(
899 const std::vector<ModelArgumentInfo>& inputs,
900 const std::vector<ModelArgumentInfo>& outputs,
901 const std::vector<const RuntimeMemory*>& memories, const SharedBurst& burstController,
908 const std::vector<ModelArgumentInfo>& inputs,
909 const std::vector<ModelArgumentInfo>& outputs,
910 const std::vector<const RuntimeMemory*>& memories, const std::vector<int>& waitFor,
916 const std::vector<ModelArgumentInfo>& inputs,
917 const std::vector<ModelArgumentInfo>& outputs,
918 const std::vector<const RuntimeMemory*>& memories, MeasureTiming measure,
926 CpuPreparedModel(Model model, std::vector<RunTimePoolInfo> poolInfos) in CpuPreparedModel()
930 const std::vector<RunTimePoolInfo>& getModelPoolInfos() const { return mModelPoolInfos; } in getModelPoolInfos()
938 const std::vector<RunTimePoolInfo> mModelPoolInfos;
944 std::vector<RunTimePoolInfo> requestPoolInfos, in CpuExecution()
951 std::tuple<int, std::vector<OutputShape>, Timing> compute(
955 const std::vector<int>& waitFor, const OptionalTimePoint& deadline,
961 std::vector<RunTimePoolInfo> kRequestPoolInfos;
965 std::vector<bool> CpuDevice::getSupportedOperations(const MetaModel& metaModel) const { in getSupportedOperations()
968 std::vector<bool> result(count, false); in getSupportedOperations()
1017 std::vector<RunTimePoolInfo> poolInfos; in create()
1027 static std::tuple<int, std::vector<OutputShape>, Timing> computeOnCpu( in computeOnCpu()
1029 const std::vector<RunTimePoolInfo>& modelPoolInfos, in computeOnCpu()
1030 const std::vector<RunTimePoolInfo>& requestPoolInfos, const OptionalTimePoint& deadline, in computeOnCpu()
1046 const std::vector<ModelArgumentInfo>& inputs, const std::vector<ModelArgumentInfo>& outputs, in executeFenced()
1047 const std::vector<const RuntimeMemory*>& memories, const std::vector<int>& waitFor, in executeFenced()
1076 static std::tuple<int, Request, std::vector<RunTimePoolInfo>> createCpuRequest( in createCpuRequest()
1077 const std::vector<ModelArgumentInfo>& inputs, const std::vector<ModelArgumentInfo>& outputs, in createCpuRequest()
1078 const std::vector<const RuntimeMemory*>& memories) { in createCpuRequest()
1079 std::vector<RunTimePoolInfo> requestPoolInfos; in createCpuRequest()
1090 [&requestPoolInfos](const std::vector<ModelArgumentInfo>& argumentInfos) { in createCpuRequest()
1091 std::vector<DataLocation> ptrArgsLocations; in createCpuRequest()
1105 const std::vector<DataLocation> inputPtrArgsLocations = fixPointerArguments(inputs); in createCpuRequest()
1106 const std::vector<DataLocation> outputPtrArgsLocations = fixPointerArguments(outputs); in createCpuRequest()
1121 std::tuple<int, std::vector<OutputShape>, Timing> CpuPreparedModel::execute( in execute()
1122 const std::vector<ModelArgumentInfo>& inputs, const std::vector<ModelArgumentInfo>& outputs, in execute()
1123 const std::vector<const RuntimeMemory*>& memories, const SharedBurst& /*burstController*/, in execute()
1132 std::vector<RunTimePoolInfo> requestPoolInfos; in execute()
1143 std::tuple<int, std::vector<OutputShape>, Timing> result = {}; in execute()
1156 const std::vector<ModelArgumentInfo>& inputs, const std::vector<ModelArgumentInfo>& outputs, in createReusableExecution()
1157 const std::vector<const RuntimeMemory*>& memories, MeasureTiming /*measure*/, in createReusableExecution()
1168 std::tuple<int, std::vector<OutputShape>, Timing> CpuExecution::compute( in compute()
1178 std::tuple<int, std::vector<OutputShape>, Timing> result = {}; in compute()
1192 const std::vector<int>& waitFor, const OptionalTimePoint& deadline, in computeFenced()
1236 std::vector<std::shared_ptr<DriverDevice>> getDriverDevices() { in getDriverDevices()
1245 std::vector<std::shared_ptr<DriverDevice>> driverDevices; in getDriverDevices()
1253 std::vector<std::shared_ptr<DriverDevice>> getDriverDevices() { in getDriverDevices()
1255 std::vector<std::shared_ptr<DriverDevice>> driverDevices; in getDriverDevices()