lib/onnxruntime/ffi.rb in onnxruntime-0.5.0 vs lib/onnxruntime/ffi.rb in onnxruntime-0.5.1
- old
+ new
@@ -72,11 +72,11 @@
:CreateTensorAsOrtValue, callback(%i[pointer pointer size_t int pointer], :pointer),
:CreateTensorWithDataAsOrtValue, callback(%i[pointer pointer size_t pointer size_t int pointer], :pointer),
:IsTensor, callback(%i[], :pointer),
:GetTensorMutableData, callback(%i[pointer pointer], :pointer),
:FillStringTensor, callback(%i[pointer pointer size_t], :pointer),
- :GetStringTensorDataLength, callback(%i[], :pointer),
- :GetStringTensorContent, callback(%i[], :pointer),
+ :GetStringTensorDataLength, callback(%i[pointer pointer], :pointer),
+ :GetStringTensorContent, callback(%i[pointer pointer size_t pointer size_t], :pointer),
:CastTypeInfoToTensorInfo, callback(%i[pointer pointer], :pointer),
:GetOnnxTypeFromTypeInfo, callback(%i[pointer pointer], :pointer),
:CreateTensorTypeAndShapeInfo, callback(%i[], :pointer),
:SetTensorElementType, callback(%i[], :pointer),
:SetDimensions, callback(%i[], :pointer),