lib/onnxruntime/ffi.rb in onnxruntime-0.3.0 vs lib/onnxruntime/ffi.rb in onnxruntime-0.3.1
- old
+ new
@@ -134,10 +134,16 @@
:ModelMetadataGetGraphName, callback(%i[pointer pointer pointer], :pointer),
:ModelMetadataGetDomain, callback(%i[pointer pointer pointer], :pointer),
:ModelMetadataGetDescription, callback(%i[pointer pointer pointer], :pointer),
:ModelMetadataLookupCustomMetadataMap, callback(%i[pointer pointer pointer pointer], :pointer),
:ModelMetadataGetVersion, callback(%i[pointer pointer], :pointer),
- :ReleaseModelMetadata, callback(%i[pointer], :void)
+ :ReleaseModelMetadata, callback(%i[pointer], :void),
+ :CreateEnvWithGlobalThreadPools, callback(%i[], :pointer),
+ :DisablePerSessionThreads, callback(%i[], :pointer),
+ :CreateThreadingOptions, callback(%i[], :pointer),
+ :ReleaseThreadingOptions, callback(%i[], :pointer),
+ :ModelMetadataGetCustomMetadataMapKeys, callback(%i[pointer pointer pointer pointer], :pointer),
+ :AddFreeDimensionOverrideByName, callback(%i[], :pointer)
end
class ApiBase < ::FFI::Struct
# use uint32 instead of uint32_t
# to prevent "unable to resolve type" error on Ubuntu