onnxruntime/include/onnxruntime/core/framework
Tang, Cheng 3f3c5fcd68
Unify the Compile API for mobile build and normal build (#10632)
* use the lightweight compile api as default; use dnnl ep for testing

* apply to tensorrt ep

* fix the missing files

* fix build

* fix the copy issue on linux

* migrate migraphx and openvino ep

* fix openvino build break

* fix linux build

* fix unused parameter

* fix coreml build

* use graph view's filtered initializers

* fix openvino break

* fix tvm compile api

* fix tvm / rknpu / vitisai ep build

* add IsInitializedTensor in graph_viewer; fix nuphar build

* use serializer directly as tvm ep is still static lib

* fix the type mismatch

* fix the type mismatch

* fix merge conflict

* add a comment

* fix minimal build

* fix the DML EP's legacy approach

* save type/shape in dnnl IR

* fix linux break

* fix tvm failure

* dnnl ep: move initializer referenced out of dnnl subgraph

* Revert "add IsInitializedTensor in graph_viewer; fix nuphar build"

This reverts commit 1cc3c7f08c16fee4fe3309a67209eb769d479587.

* add IsInitializedTensor to graph viewer

* add the legacy code for nuphar build to temporarily make nuphar build work

* ignore internal test for nuphar

* remove the out of date tests

* keep the legacy API in EP for a while

* turn serializer into a static function

* update comments

* fix tvm build

* Update include/onnxruntime/core/framework/execution_provider.h

Co-authored-by: Pranav Sharma <prs@microsoft.com>

* Update include/onnxruntime/core/framework/execution_provider.h

Co-authored-by: Pranav Sharma <prs@microsoft.com>

* Update onnxruntime/core/framework/execution_provider.cc

Co-authored-by: Pranav Sharma <prs@microsoft.com>

* updatee comments; add warning message for legacy compil call

* add a flag to control out of scope arg in serialization

* fix trt  build; improve the test

* resolve merege errors

* fix a typo

Co-authored-by: Cheng Tang <chenta@microsoft.com>
Co-authored-by: Cheng Tang <chenta@microsoft.com@orttrainingdev9.d32nl1ml4oruzj4qz3bqlggovf.px.internal.cloudapp.net>
Co-authored-by: Pranav Sharma <prs@microsoft.com>
2022-05-05 08:30:07 -07:00
..
alloc_kind.h Add New AllocKind for YieldOp Outputs, Run YieldOp with InferenceSession in UT (#7125) 2021-03-25 15:18:51 +08:00
allocator.h support MIGraphXEP to work with ROCMEP for inference on AMD GPU (#10368) 2022-01-26 15:52:56 -08:00
buffer_deleter.h Add ability for pre-packed weights of shared initializers to be shared across sessions (#7421) 2021-05-14 20:44:42 -07:00
customregistry.h Sync ORTModule branch with master and fix tests (#6526) 2021-02-02 08:59:56 -08:00
data_types.h Consolidate utils::ToTensorProtoElementType, TypeToDataType, and data_types_internal::ToTensorDataType. (#9824) 2022-04-20 12:45:53 -07:00
data_types_internal.h Consolidate utils::ToTensorProtoElementType, TypeToDataType, and data_types_internal::ToTensorDataType. (#9824) 2022-04-20 12:45:53 -07:00
endian.h
execution_provider.h Unify the Compile API for mobile build and normal build (#10632) 2022-05-05 08:30:07 -07:00
fence.h Remove Cuda dependency from TensorRT shared provider (#5014) 2020-09-04 11:35:02 -07:00
float16.h fix build error (#11199) 2022-04-13 13:09:19 +08:00
framework_common.h
func_api.h Sync ORTModule branch with master and fix tests (#6526) 2021-02-02 08:59:56 -08:00
kernel_def_builder.h enable strided tensor for training only (#10748) 2022-03-08 08:31:28 +08:00
kernel_registry.h APIs for custom op to invoke ort operator directly (#10713) 2022-05-03 14:16:30 -07:00
op_kernel.h Fix SDL warnings in CPU EP (#9975) 2021-12-19 20:54:29 -08:00
op_kernel_context.h APIs for custom op to invoke ort operator directly (#10713) 2022-05-03 14:16:30 -07:00
op_kernel_info.h Fix SDL warnings in CPU EP (#9975) 2021-12-19 20:54:29 -08:00
op_node_proto_helper.h Reduce number of memory allocations based on a customer profiling case (#10193) 2022-01-24 10:40:46 -08:00
ort_value.h Support disabling support for the optional type in ORT builds (#9745) 2021-11-17 19:13:28 -08:00
ortdevice.h Sync ORTModule branch with master and fix tests (#6526) 2021-02-02 08:59:56 -08:00
ortmemoryinfo.h C API Enum Name Fixes (#9092) 2021-09-17 15:11:26 -07:00
provider_options.h Sync ORTModule branch with master and fix tests (#6526) 2021-02-02 08:59:56 -08:00
provider_options_utils.h Plug n Allocate with external CUDA allocator via PyBind. (#6679) 2021-02-17 18:59:38 -08:00
provider_shutdown.h Fix shared provider unload crash (#5553) 2020-10-21 13:01:21 -07:00
run_options.h Add ability for memory arenas to "shrink" periodically (#7284) 2021-05-08 07:53:21 -07:00
sparse_tensor.h Make SparseTensor infrastructure optional (#8802) 2021-08-27 17:12:26 +10:00
tensor.h Create Tensor with Strides (#11294) 2022-04-28 16:49:37 +08:00
tensor_shape.h Introduce a way to disable Abseil library (#11353) 2022-04-27 08:57:52 -07:00
to_tensor_proto_element_type.h Consolidate utils::ToTensorProtoElementType, TypeToDataType, and data_types_internal::ToTensorDataType. (#9824) 2022-04-20 12:45:53 -07:00