class
OnnxRuntime::CudaProviderOptions
- OnnxRuntime::CudaProviderOptions
- OnnxRuntime::ProviderOptions
- Reference
- Object
Overview
CUDA provider options
Defined in:
onnxruntime/provider.crConstructors
Instance Method Summary
-
#finalize
Finalizer to release resources
-
#release
Explicitly release resources
-
#to_unsafe : Pointer(OnnxRuntime::LibOnnxRuntime::OrtCUDAProviderOptionsV2)
Get the underlying OrtCUDAProviderOptionsV2 pointer
Instance methods inherited from class OnnxRuntime::ProviderOptions
to_unsafe
to_unsafe
Constructor Detail
def self.new(session : InferenceSession, device_id = 0, gpu_mem_limit = 0_u64, arena_extend_strategy = 0, cudnn_conv_algo_search = 0, do_copy_in_default_stream = true)
#
Instance Method Detail
def to_unsafe : Pointer(OnnxRuntime::LibOnnxRuntime::OrtCUDAProviderOptionsV2)
#
Get the underlying OrtCUDAProviderOptionsV2 pointer