lib/onnxruntime/ffi.rb in onnxruntime-0.2.3 vs lib/onnxruntime/ffi.rb in onnxruntime-0.3.0

- old
+ new

@@ -117,10 +117,27 @@ :ReleaseValue, callback(%i[pointer], :void), :ReleaseRunOptions, callback(%i[pointer], :void), :ReleaseTypeInfo, callback(%i[pointer], :void), :ReleaseTensorTypeAndShapeInfo, callback(%i[pointer], :void), :ReleaseSessionOptions, callback(%i[pointer], :void), - :ReleaseCustomOpDomain, callback(%i[pointer], :void) + :ReleaseCustomOpDomain, callback(%i[pointer], :void), + :GetDenotationFromTypeInfo, callback(%i[], :pointer), + :CastTypeInfoToMapTypeInfo, callback(%i[pointer pointer], :pointer), + :CastTypeInfoToSequenceTypeInfo, callback(%i[pointer pointer], :pointer), + :GetMapKeyType, callback(%i[pointer pointer], :pointer), + :GetMapValueType, callback(%i[pointer pointer], :pointer), + :GetSequenceElementType, callback(%i[pointer pointer], :pointer), + :ReleaseMapTypeInfo, callback(%i[pointer], :void), + :ReleaseSequenceTypeInfo, callback(%i[pointer], :void), + :SessionEndProfiling, callback(%i[pointer pointer pointer], :pointer), + :SessionGetModelMetadata, callback(%i[pointer pointer], :pointer), + :ModelMetadataGetProducerName, callback(%i[pointer pointer pointer], :pointer), + :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) end class ApiBase < ::FFI::Struct # use uint32 instead of uint32_t # to prevent "unable to resolve type" error on Ubuntu