lib/onnxruntime/ffi.rb in onnxruntime-0.5.1 vs lib/onnxruntime/ffi.rb in onnxruntime-0.5.2
- old
+ new
@@ -32,10 +32,10 @@
:CreateSessionFromArray, callback(%i[pointer pointer size_t pointer pointer], :pointer),
:Run, callback(%i[pointer pointer pointer pointer size_t pointer size_t pointer], :pointer),
:CreateSessionOptions, callback(%i[pointer], :pointer),
:SetOptimizedModelFilePath, callback(%i[pointer pointer], :pointer),
:CloneSessionOptions, callback(%i[], :pointer),
- :SetSessionExecutionMode, callback(%i[], :pointer),
+ :SetSessionExecutionMode, callback(%i[pointer int], :pointer),
:EnableProfiling, callback(%i[pointer pointer], :pointer),
:DisableProfiling, callback(%i[pointer], :pointer),
:EnableMemPattern, callback(%i[pointer], :pointer),
:DisableMemPattern, callback(%i[pointer], :pointer),
:EnableCpuMemArena, callback(%i[pointer], :pointer),