Class OrtApiBase.GetApi

java.lang.Object
smile.onnx.foreign.OrtApiBase.GetApi
Enclosing class:
OrtApiBase

public static final class OrtApiBase.GetApi extends Object
const OrtApi *(*GetApi)(uint32_t)
  • Method Details

    • descriptor

      public static FunctionDescriptor descriptor()
      The descriptor of this function pointer
    • allocate

      public static MemorySegment allocate(OrtApiBase.GetApi.Function fi, Arena arena)
      Allocates a new upcall stub, whose implementation is defined by fi. The lifetime of the returned segment is managed by arena
    • invoke

      public static MemorySegment invoke(MemorySegment funcPtr, int _x0)
      Invoke the upcall stub funcPtr, with given parameters