13 namespace onnxruntime {
15 class DataTransferManager;
17 class OrtValueNameIdxMap;
18 struct AllocPlanPerValue;
28 const std::unordered_map<int, OrtValue>& constant_initialized_tensors,
29 const OrtValueNameIdxMap& mlvalue_name_idx_map,
30 const DataTransferManager& data_transfer_mgr,
32 const ConfigOptions& config_options);
64 gsl::not_null<const ::onnxruntime::IExecutionProvider*> execution_provider_;
65 const std::unordered_map<int, OrtValue>& constant_initialized_tensors_;
66 const OrtValueNameIdxMap& ort_value_name_idx_map_;
67 const DataTransferManager& data_transfer_mgr_;
70 const ConfigOptions& config_options_;
const IExecutionProvider * GetExecutionProvider() const noexcept
const DataTransferManager & GetDataTransferManager() const noexcept
const ConfigOptions & GetConfigOptions() const
OpKernelInfo(const onnxruntime::Node &node, const KernelDef &kernel_def, const IExecutionProvider &execution_provider, const std::unordered_map< int, OrtValue > &constant_initialized_tensors, const OrtValueNameIdxMap &mlvalue_name_idx_map, const DataTransferManager &data_transfer_mgr, const AllocatorMap &allocators, const ConfigOptions &config_options)
AllocatorPtr GetAllocator(OrtMemType mem_type) const
const onnxruntime::Node & node() const noexcept
const AllocatorMap & GetAllocators() const
std::map< OrtDevice, AllocatorPtr > AllocatorMap
std::shared_ptr< IAllocator > AllocatorPtr
const OrtDevice GetDevice(OrtMemType mem_type) const
bool TryGetConstantInput(int input_index, const Tensor **constant_input_value) const
const KernelDef & GetKernelDef() const