Lines Matching refs:vector
69 const std::vector<Extension>& getSupportedExtensions() const override { in getSupportedExtensions()
72 std::vector<bool> getSupportedOperations(const MetaModel& metaModel) const override;
134 std::tuple<int, std::vector<OutputShape>, Timing> execute(
135 const std::vector<ModelArgumentInfo>& inputs,
136 const std::vector<ModelArgumentInfo>& outputs,
137 const std::vector<const Memory*>& memories,
143 const std::vector<ModelArgumentInfo>& inputs,
144 const std::vector<ModelArgumentInfo>& outputs,
145 const std::vector<const Memory*>& memories, const std::vector<int>& waitFor,
184 std::vector<bool> DriverDevice::getSupportedOperations(const MetaModel& metaModel) const { in getSupportedOperations()
187 std::vector<bool> supportedOperations; in getSupportedOperations()
195 return std::vector<bool>(operationCount, false); in getSupportedOperations()
201 return std::vector<bool>(operationCount, false); in getSupportedOperations()
259 std::vector<std::shared_ptr<VersionedIPreparedModel>> preparedModels( in allocate()
280 static std::tuple<int, std::unique_ptr<MemoryAshmem>, std::vector<DataLocation>>
281 allocatePointerArgumentsToPool(const std::vector<ModelArgumentInfo>& args, in allocatePointerArgumentsToPool()
282 std::vector<const Memory*>* memories) { in allocatePointerArgumentsToPool()
284 std::vector<DataLocation> ptrArgsLocations; in allocatePointerArgumentsToPool()
300 return {ANEURALNETWORKS_BAD_DATA, nullptr, std::vector<DataLocation>{}}; in allocatePointerArgumentsToPool()
303 return {ANEURALNETWORKS_NO_ERROR, nullptr, std::vector<DataLocation>{}}; in allocatePointerArgumentsToPool()
307 return {n, nullptr, std::vector<DataLocation>{}}; in allocatePointerArgumentsToPool()
322 std::tuple<int, std::vector<OutputShape>, Timing> DriverPreparedModel::execute( in execute()
323 const std::vector<ModelArgumentInfo>& inputs, const std::vector<ModelArgumentInfo>& outputs, in execute()
324 const std::vector<const Memory*>& memories, in execute()
331 std::vector<const Memory*> localMemories = memories; in execute()
374 std::vector<OutputShape> outputShapes; in execute()
384 std::vector<intptr_t> memoryIds; in execute()
431 const std::vector<ModelArgumentInfo>& inputs, const std::vector<ModelArgumentInfo>& outputs, in executeFenced()
432 const std::vector<const Memory*>& memories, const std::vector<int>& waitFor, in executeFenced()
439 std::vector<const Memory*> localMemories = memories; in executeFenced()
560 const std::vector<Extension>& getSupportedExtensions() const override { in getSupportedExtensions()
563 std::vector<bool> getSupportedOperations(const MetaModel& metaModel) const override;
592 const std::vector<Extension> kSupportedExtensions{/* No extensions. */};
606 std::tuple<int, std::vector<OutputShape>, Timing> execute(
607 const std::vector<ModelArgumentInfo>& inputs,
608 const std::vector<ModelArgumentInfo>& outputs,
609 const std::vector<const Memory*>& memories,
620 const std::vector<ModelArgumentInfo>& inputs,
621 const std::vector<ModelArgumentInfo>& outputs,
622 const std::vector<const Memory*>& memories, const std::vector<int>& wait_for,
628 CpuPreparedModel(Model model, std::vector<RunTimePoolInfo> poolInfos) in CpuPreparedModel()
633 const std::vector<RunTimePoolInfo> mModelPoolInfos;
636 std::vector<bool> CpuDevice::getSupportedOperations(const MetaModel& metaModel) const { in getSupportedOperations()
639 std::vector<bool> result(count, false); in getSupportedOperations()
681 std::vector<RunTimePoolInfo> poolInfos; in create()
691 static std::tuple<int, std::vector<OutputShape>, Timing> computeOnCpu( in computeOnCpu()
693 const std::vector<RunTimePoolInfo>& modelPoolInfos, in computeOnCpu()
694 const std::vector<RunTimePoolInfo>& requestPoolInfos, in computeOnCpu()
712 CpuPreparedModel::executeFenced(const std::vector<ModelArgumentInfo>& inputs, in executeFenced()
713 const std::vector<ModelArgumentInfo>& outputs, in executeFenced()
714 const std::vector<const Memory*>& memories, in executeFenced()
715 const std::vector<int>& waitFor, hal::MeasureTiming measure, in executeFenced()
752 std::tuple<int, std::vector<OutputShape>, Timing> CpuPreparedModel::execute( in execute()
753 const std::vector<ModelArgumentInfo>& inputs, const std::vector<ModelArgumentInfo>& outputs, in execute()
754 const std::vector<const Memory*>& memories, in execute()
762 std::vector<RunTimePoolInfo> requestPoolInfos; in execute()
773 [&requestPoolInfos](const std::vector<ModelArgumentInfo>& argumentInfos) { in execute()
774 std::vector<DataLocation> ptrArgsLocations; in execute()
787 const std::vector<DataLocation> inputPtrArgsLocations = fixPointerArguments(inputs); in execute()
788 const std::vector<DataLocation> outputPtrArgsLocations = fixPointerArguments(outputs); in execute()
798 std::tuple<int, std::vector<OutputShape>, Timing> result = {}; in execute()