Class OrtCustomOp
java.lang.Object
smile.onnx.foreign.OrtCustomOp
struct OrtCustomOp {
uint32_t version;
void *(*CreateKernel)(const struct OrtCustomOp *, const OrtApi *, const OrtKernelInfo *);
const char *(*GetName)(const struct OrtCustomOp *);
const char *(*GetExecutionProviderType)(const struct OrtCustomOp *);
ONNXTensorElementDataType (*GetInputType)(const struct OrtCustomOp *, size_t);
size_t (*GetInputTypeCount)(const struct OrtCustomOp *);
ONNXTensorElementDataType (*GetOutputType)(const struct OrtCustomOp *, size_t);
size_t (*GetOutputTypeCount)(const struct OrtCustomOp *);
void (*KernelCompute)(void *, OrtKernelContext *);
void (*KernelDestroy)(void *);
OrtCustomOpInputOutputCharacteristic (*GetInputCharacteristic)(const struct OrtCustomOp *, size_t);
OrtCustomOpInputOutputCharacteristic (*GetOutputCharacteristic)(const struct OrtCustomOp *, size_t);
OrtMemType (*GetInputMemoryType)(const struct OrtCustomOp *, size_t);
int (*GetVariadicInputMinArity)(const struct OrtCustomOp *);
int (*GetVariadicInputHomogeneity)(const struct OrtCustomOp *);
int (*GetVariadicOutputMinArity)(const struct OrtCustomOp *);
int (*GetVariadicOutputHomogeneity)(const struct OrtCustomOp *);
OrtStatusPtr (*CreateKernelV2)(const struct OrtCustomOp *, const OrtApi *, const OrtKernelInfo *, void **);
OrtStatusPtr (*KernelComputeV2)(void *, OrtKernelContext *);
OrtStatusPtr (*InferOutputShapeFn)(const struct OrtCustomOp *, OrtShapeInferContext *);
int (*GetStartVersion)(const struct OrtCustomOp *);
int (*GetEndVersion)(const struct OrtCustomOp *);
size_t (*GetMayInplace)(int **, int **);
void (*ReleaseMayInplace)(int *, int *);
size_t (*GetAliasMap)(int **, int **);
void (*ReleaseAliasMap)(int *, int *);
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classvoid *(*CreateKernel)(const struct OrtCustomOp *, const OrtApi *, const OrtKernelInfo *)static final classOrtStatusPtr (*CreateKernelV2)(const struct OrtCustomOp *, const OrtApi *, const OrtKernelInfo *, void **)static final classsize_t (*GetAliasMap)(int **, int **)static final classint (*GetEndVersion)(const struct OrtCustomOp *)static final classconst char *(*GetExecutionProviderType)(const struct OrtCustomOp *)static final classOrtCustomOpInputOutputCharacteristic (*GetInputCharacteristic)(const struct OrtCustomOp *, size_t)static final classOrtMemType (*GetInputMemoryType)(const struct OrtCustomOp *, size_t)static final classONNXTensorElementDataType (*GetInputType)(const struct OrtCustomOp *, size_t)static final classsize_t (*GetInputTypeCount)(const struct OrtCustomOp *)static final classsize_t (*GetMayInplace)(int **, int **)static final classconst char *(*GetName)(const struct OrtCustomOp *)static final classOrtCustomOpInputOutputCharacteristic (*GetOutputCharacteristic)(const struct OrtCustomOp *, size_t)static final classONNXTensorElementDataType (*GetOutputType)(const struct OrtCustomOp *, size_t)static final classsize_t (*GetOutputTypeCount)(const struct OrtCustomOp *)static final classint (*GetStartVersion)(const struct OrtCustomOp *)static final classint (*GetVariadicInputHomogeneity)(const struct OrtCustomOp *)static final classint (*GetVariadicInputMinArity)(const struct OrtCustomOp *)static final classint (*GetVariadicOutputHomogeneity)(const struct OrtCustomOp *)static final classint (*GetVariadicOutputMinArity)(const struct OrtCustomOp *)static final classOrtStatusPtr (*InferOutputShapeFn)(const struct OrtCustomOp *, OrtShapeInferContext *)static final classvoid (*KernelCompute)(void *, OrtKernelContext *)static final classOrtStatusPtr (*KernelComputeV2)(void *, OrtKernelContext *)static final classvoid (*KernelDestroy)(void *)static final classvoid (*ReleaseAliasMap)(int *, int *)static final classvoid (*ReleaseMayInplace)(int *, int *) -
Method Summary
Modifier and TypeMethodDescriptionstatic MemorySegmentallocate(SegmentAllocator allocator) Allocate a segment of sizelayout().byteSize()usingallocatorstatic MemorySegmentallocateArray(long elementCount, SegmentAllocator allocator) Allocate an array of sizeelementCountusingallocator.static MemorySegmentasSlice(MemorySegment array, long index) Obtains a slice ofarrayParamwhich selects the array element atindex.static MemorySegmentCreateKernel(MemorySegment struct) Getter for field:void *(*CreateKernel)(const struct OrtCustomOp *, const OrtApi *, const OrtKernelInfo *)static voidCreateKernel(MemorySegment struct, MemorySegment fieldValue) Setter for field:void *(*CreateKernel)(const struct OrtCustomOp *, const OrtApi *, const OrtKernelInfo *)static final AddressLayoutLayout for field:void *(*CreateKernel)(const struct OrtCustomOp *, const OrtApi *, const OrtKernelInfo *)static final longOffset for field:void *(*CreateKernel)(const struct OrtCustomOp *, const OrtApi *, const OrtKernelInfo *)static MemorySegmentCreateKernelV2(MemorySegment struct) Getter for field:OrtStatusPtr (*CreateKernelV2)(const struct OrtCustomOp *, const OrtApi *, const OrtKernelInfo *, void **)static voidCreateKernelV2(MemorySegment struct, MemorySegment fieldValue) Setter for field:OrtStatusPtr (*CreateKernelV2)(const struct OrtCustomOp *, const OrtApi *, const OrtKernelInfo *, void **)static final AddressLayoutLayout for field:OrtStatusPtr (*CreateKernelV2)(const struct OrtCustomOp *, const OrtApi *, const OrtKernelInfo *, void **)static final longOffset for field:OrtStatusPtr (*CreateKernelV2)(const struct OrtCustomOp *, const OrtApi *, const OrtKernelInfo *, void **)static MemorySegmentGetAliasMap(MemorySegment struct) Getter for field:size_t (*GetAliasMap)(int **, int **)static voidGetAliasMap(MemorySegment struct, MemorySegment fieldValue) Setter for field:size_t (*GetAliasMap)(int **, int **)static final AddressLayoutLayout for field:size_t (*GetAliasMap)(int **, int **)static final longOffset for field:size_t (*GetAliasMap)(int **, int **)static MemorySegmentGetEndVersion(MemorySegment struct) Getter for field:int (*GetEndVersion)(const struct OrtCustomOp *)static voidGetEndVersion(MemorySegment struct, MemorySegment fieldValue) Setter for field:int (*GetEndVersion)(const struct OrtCustomOp *)static final AddressLayoutLayout for field:int (*GetEndVersion)(const struct OrtCustomOp *)static final longOffset for field:int (*GetEndVersion)(const struct OrtCustomOp *)static MemorySegmentGetter for field:const char *(*GetExecutionProviderType)(const struct OrtCustomOp *)static voidGetExecutionProviderType(MemorySegment struct, MemorySegment fieldValue) Setter for field:const char *(*GetExecutionProviderType)(const struct OrtCustomOp *)static final AddressLayoutLayout for field:const char *(*GetExecutionProviderType)(const struct OrtCustomOp *)static final longOffset for field:const char *(*GetExecutionProviderType)(const struct OrtCustomOp *)static MemorySegmentGetInputCharacteristic(MemorySegment struct) Getter for field:OrtCustomOpInputOutputCharacteristic (*GetInputCharacteristic)(const struct OrtCustomOp *, size_t)static voidGetInputCharacteristic(MemorySegment struct, MemorySegment fieldValue) Setter for field:OrtCustomOpInputOutputCharacteristic (*GetInputCharacteristic)(const struct OrtCustomOp *, size_t)static final AddressLayoutLayout for field:OrtCustomOpInputOutputCharacteristic (*GetInputCharacteristic)(const struct OrtCustomOp *, size_t)static final longOffset for field:OrtCustomOpInputOutputCharacteristic (*GetInputCharacteristic)(const struct OrtCustomOp *, size_t)static MemorySegmentGetInputMemoryType(MemorySegment struct) Getter for field:OrtMemType (*GetInputMemoryType)(const struct OrtCustomOp *, size_t)static voidGetInputMemoryType(MemorySegment struct, MemorySegment fieldValue) Setter for field:OrtMemType (*GetInputMemoryType)(const struct OrtCustomOp *, size_t)static final AddressLayoutLayout for field:OrtMemType (*GetInputMemoryType)(const struct OrtCustomOp *, size_t)static final longOffset for field:OrtMemType (*GetInputMemoryType)(const struct OrtCustomOp *, size_t)static MemorySegmentGetInputType(MemorySegment struct) Getter for field:ONNXTensorElementDataType (*GetInputType)(const struct OrtCustomOp *, size_t)static voidGetInputType(MemorySegment struct, MemorySegment fieldValue) Setter for field:ONNXTensorElementDataType (*GetInputType)(const struct OrtCustomOp *, size_t)static final AddressLayoutLayout for field:ONNXTensorElementDataType (*GetInputType)(const struct OrtCustomOp *, size_t)static final longOffset for field:ONNXTensorElementDataType (*GetInputType)(const struct OrtCustomOp *, size_t)static MemorySegmentGetInputTypeCount(MemorySegment struct) Getter for field:size_t (*GetInputTypeCount)(const struct OrtCustomOp *)static voidGetInputTypeCount(MemorySegment struct, MemorySegment fieldValue) Setter for field:size_t (*GetInputTypeCount)(const struct OrtCustomOp *)static final AddressLayoutLayout for field:size_t (*GetInputTypeCount)(const struct OrtCustomOp *)static final longOffset for field:size_t (*GetInputTypeCount)(const struct OrtCustomOp *)static MemorySegmentGetMayInplace(MemorySegment struct) Getter for field:size_t (*GetMayInplace)(int **, int **)static voidGetMayInplace(MemorySegment struct, MemorySegment fieldValue) Setter for field:size_t (*GetMayInplace)(int **, int **)static final AddressLayoutLayout for field:size_t (*GetMayInplace)(int **, int **)static final longOffset for field:size_t (*GetMayInplace)(int **, int **)static MemorySegmentGetName(MemorySegment struct) Getter for field:const char *(*GetName)(const struct OrtCustomOp *)static voidGetName(MemorySegment struct, MemorySegment fieldValue) Setter for field:const char *(*GetName)(const struct OrtCustomOp *)static final AddressLayoutLayout for field:const char *(*GetName)(const struct OrtCustomOp *)static final longOffset for field:const char *(*GetName)(const struct OrtCustomOp *)static MemorySegmentGetOutputCharacteristic(MemorySegment struct) Getter for field:OrtCustomOpInputOutputCharacteristic (*GetOutputCharacteristic)(const struct OrtCustomOp *, size_t)static voidGetOutputCharacteristic(MemorySegment struct, MemorySegment fieldValue) Setter for field:OrtCustomOpInputOutputCharacteristic (*GetOutputCharacteristic)(const struct OrtCustomOp *, size_t)static final AddressLayoutLayout for field:OrtCustomOpInputOutputCharacteristic (*GetOutputCharacteristic)(const struct OrtCustomOp *, size_t)static final longOffset for field:OrtCustomOpInputOutputCharacteristic (*GetOutputCharacteristic)(const struct OrtCustomOp *, size_t)static MemorySegmentGetOutputType(MemorySegment struct) Getter for field:ONNXTensorElementDataType (*GetOutputType)(const struct OrtCustomOp *, size_t)static voidGetOutputType(MemorySegment struct, MemorySegment fieldValue) Setter for field:ONNXTensorElementDataType (*GetOutputType)(const struct OrtCustomOp *, size_t)static final AddressLayoutLayout for field:ONNXTensorElementDataType (*GetOutputType)(const struct OrtCustomOp *, size_t)static final longOffset for field:ONNXTensorElementDataType (*GetOutputType)(const struct OrtCustomOp *, size_t)static MemorySegmentGetOutputTypeCount(MemorySegment struct) Getter for field:size_t (*GetOutputTypeCount)(const struct OrtCustomOp *)static voidGetOutputTypeCount(MemorySegment struct, MemorySegment fieldValue) Setter for field:size_t (*GetOutputTypeCount)(const struct OrtCustomOp *)static final AddressLayoutLayout for field:size_t (*GetOutputTypeCount)(const struct OrtCustomOp *)static final longOffset for field:size_t (*GetOutputTypeCount)(const struct OrtCustomOp *)static MemorySegmentGetStartVersion(MemorySegment struct) Getter for field:int (*GetStartVersion)(const struct OrtCustomOp *)static voidGetStartVersion(MemorySegment struct, MemorySegment fieldValue) Setter for field:int (*GetStartVersion)(const struct OrtCustomOp *)static final AddressLayoutLayout for field:int (*GetStartVersion)(const struct OrtCustomOp *)static final longOffset for field:int (*GetStartVersion)(const struct OrtCustomOp *)static MemorySegmentGetter for field:int (*GetVariadicInputHomogeneity)(const struct OrtCustomOp *)static voidGetVariadicInputHomogeneity(MemorySegment struct, MemorySegment fieldValue) Setter for field:int (*GetVariadicInputHomogeneity)(const struct OrtCustomOp *)static final AddressLayoutLayout for field:int (*GetVariadicInputHomogeneity)(const struct OrtCustomOp *)static final longOffset for field:int (*GetVariadicInputHomogeneity)(const struct OrtCustomOp *)static MemorySegmentGetter for field:int (*GetVariadicInputMinArity)(const struct OrtCustomOp *)static voidGetVariadicInputMinArity(MemorySegment struct, MemorySegment fieldValue) Setter for field:int (*GetVariadicInputMinArity)(const struct OrtCustomOp *)static final AddressLayoutLayout for field:int (*GetVariadicInputMinArity)(const struct OrtCustomOp *)static final longOffset for field:int (*GetVariadicInputMinArity)(const struct OrtCustomOp *)static MemorySegmentGetter for field:int (*GetVariadicOutputHomogeneity)(const struct OrtCustomOp *)static voidGetVariadicOutputHomogeneity(MemorySegment struct, MemorySegment fieldValue) Setter for field:int (*GetVariadicOutputHomogeneity)(const struct OrtCustomOp *)static final AddressLayoutLayout for field:int (*GetVariadicOutputHomogeneity)(const struct OrtCustomOp *)static final longOffset for field:int (*GetVariadicOutputHomogeneity)(const struct OrtCustomOp *)static MemorySegmentGetter for field:int (*GetVariadicOutputMinArity)(const struct OrtCustomOp *)static voidGetVariadicOutputMinArity(MemorySegment struct, MemorySegment fieldValue) Setter for field:int (*GetVariadicOutputMinArity)(const struct OrtCustomOp *)static final AddressLayoutLayout for field:int (*GetVariadicOutputMinArity)(const struct OrtCustomOp *)static final longOffset for field:int (*GetVariadicOutputMinArity)(const struct OrtCustomOp *)static MemorySegmentInferOutputShapeFn(MemorySegment struct) Getter for field:OrtStatusPtr (*InferOutputShapeFn)(const struct OrtCustomOp *, OrtShapeInferContext *)static voidInferOutputShapeFn(MemorySegment struct, MemorySegment fieldValue) Setter for field:OrtStatusPtr (*InferOutputShapeFn)(const struct OrtCustomOp *, OrtShapeInferContext *)static final AddressLayoutLayout for field:OrtStatusPtr (*InferOutputShapeFn)(const struct OrtCustomOp *, OrtShapeInferContext *)static final longOffset for field:OrtStatusPtr (*InferOutputShapeFn)(const struct OrtCustomOp *, OrtShapeInferContext *)static MemorySegmentKernelCompute(MemorySegment struct) Getter for field:void (*KernelCompute)(void *, OrtKernelContext *)static voidKernelCompute(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*KernelCompute)(void *, OrtKernelContext *)static final AddressLayoutLayout for field:void (*KernelCompute)(void *, OrtKernelContext *)static final longOffset for field:void (*KernelCompute)(void *, OrtKernelContext *)static MemorySegmentKernelComputeV2(MemorySegment struct) Getter for field:OrtStatusPtr (*KernelComputeV2)(void *, OrtKernelContext *)static voidKernelComputeV2(MemorySegment struct, MemorySegment fieldValue) Setter for field:OrtStatusPtr (*KernelComputeV2)(void *, OrtKernelContext *)static final AddressLayoutLayout for field:OrtStatusPtr (*KernelComputeV2)(void *, OrtKernelContext *)static final longOffset for field:OrtStatusPtr (*KernelComputeV2)(void *, OrtKernelContext *)static MemorySegmentKernelDestroy(MemorySegment struct) Getter for field:void (*KernelDestroy)(void *)static voidKernelDestroy(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*KernelDestroy)(void *)static final AddressLayoutLayout for field:void (*KernelDestroy)(void *)static final longOffset for field:void (*KernelDestroy)(void *)static final GroupLayoutlayout()The layout of this structstatic MemorySegmentreinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static MemorySegmentreinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any).static MemorySegmentReleaseAliasMap(MemorySegment struct) Getter for field:void (*ReleaseAliasMap)(int *, int *)static voidReleaseAliasMap(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*ReleaseAliasMap)(int *, int *)static final AddressLayoutLayout for field:void (*ReleaseAliasMap)(int *, int *)static final longOffset for field:void (*ReleaseAliasMap)(int *, int *)static MemorySegmentReleaseMayInplace(MemorySegment struct) Getter for field:void (*ReleaseMayInplace)(int *, int *)static voidReleaseMayInplace(MemorySegment struct, MemorySegment fieldValue) Setter for field:void (*ReleaseMayInplace)(int *, int *)static final AddressLayoutLayout for field:void (*ReleaseMayInplace)(int *, int *)static final longOffset for field:void (*ReleaseMayInplace)(int *, int *)static longsizeof()The size (in bytes) of this structstatic intversion(MemorySegment struct) Getter for field:uint32_t versionstatic voidversion(MemorySegment struct, int fieldValue) Setter for field:uint32_t versionstatic final ValueLayout.OfIntLayout for field:uint32_t versionstatic final longOffset for field:uint32_t version
-
Method Details
-
layout
The layout of this struct -
version$layout
Layout for field:uint32_t version -
version$offset
public static final long version$offset()Offset for field:uint32_t version -
version
Getter for field:uint32_t version -
version
Setter for field:uint32_t version -
CreateKernel$layout
Layout for field:void *(*CreateKernel)(const struct OrtCustomOp *, const OrtApi *, const OrtKernelInfo *) -
CreateKernel$offset
public static final long CreateKernel$offset()Offset for field:void *(*CreateKernel)(const struct OrtCustomOp *, const OrtApi *, const OrtKernelInfo *) -
CreateKernel
Getter for field:void *(*CreateKernel)(const struct OrtCustomOp *, const OrtApi *, const OrtKernelInfo *) -
CreateKernel
Setter for field:void *(*CreateKernel)(const struct OrtCustomOp *, const OrtApi *, const OrtKernelInfo *) -
GetName$layout
Layout for field:const char *(*GetName)(const struct OrtCustomOp *) -
GetName$offset
public static final long GetName$offset()Offset for field:const char *(*GetName)(const struct OrtCustomOp *) -
GetName
Getter for field:const char *(*GetName)(const struct OrtCustomOp *) -
GetName
Setter for field:const char *(*GetName)(const struct OrtCustomOp *) -
GetExecutionProviderType$layout
Layout for field:const char *(*GetExecutionProviderType)(const struct OrtCustomOp *) -
GetExecutionProviderType$offset
public static final long GetExecutionProviderType$offset()Offset for field:const char *(*GetExecutionProviderType)(const struct OrtCustomOp *) -
GetExecutionProviderType
Getter for field:const char *(*GetExecutionProviderType)(const struct OrtCustomOp *) -
GetExecutionProviderType
Setter for field:const char *(*GetExecutionProviderType)(const struct OrtCustomOp *) -
GetInputType$layout
Layout for field:ONNXTensorElementDataType (*GetInputType)(const struct OrtCustomOp *, size_t) -
GetInputType$offset
public static final long GetInputType$offset()Offset for field:ONNXTensorElementDataType (*GetInputType)(const struct OrtCustomOp *, size_t) -
GetInputType
Getter for field:ONNXTensorElementDataType (*GetInputType)(const struct OrtCustomOp *, size_t) -
GetInputType
Setter for field:ONNXTensorElementDataType (*GetInputType)(const struct OrtCustomOp *, size_t) -
GetInputTypeCount$layout
Layout for field:size_t (*GetInputTypeCount)(const struct OrtCustomOp *) -
GetInputTypeCount$offset
public static final long GetInputTypeCount$offset()Offset for field:size_t (*GetInputTypeCount)(const struct OrtCustomOp *) -
GetInputTypeCount
Getter for field:size_t (*GetInputTypeCount)(const struct OrtCustomOp *) -
GetInputTypeCount
Setter for field:size_t (*GetInputTypeCount)(const struct OrtCustomOp *) -
GetOutputType$layout
Layout for field:ONNXTensorElementDataType (*GetOutputType)(const struct OrtCustomOp *, size_t) -
GetOutputType$offset
public static final long GetOutputType$offset()Offset for field:ONNXTensorElementDataType (*GetOutputType)(const struct OrtCustomOp *, size_t) -
GetOutputType
Getter for field:ONNXTensorElementDataType (*GetOutputType)(const struct OrtCustomOp *, size_t) -
GetOutputType
Setter for field:ONNXTensorElementDataType (*GetOutputType)(const struct OrtCustomOp *, size_t) -
GetOutputTypeCount$layout
Layout for field:size_t (*GetOutputTypeCount)(const struct OrtCustomOp *) -
GetOutputTypeCount$offset
public static final long GetOutputTypeCount$offset()Offset for field:size_t (*GetOutputTypeCount)(const struct OrtCustomOp *) -
GetOutputTypeCount
Getter for field:size_t (*GetOutputTypeCount)(const struct OrtCustomOp *) -
GetOutputTypeCount
Setter for field:size_t (*GetOutputTypeCount)(const struct OrtCustomOp *) -
KernelCompute$layout
Layout for field:void (*KernelCompute)(void *, OrtKernelContext *) -
KernelCompute$offset
public static final long KernelCompute$offset()Offset for field:void (*KernelCompute)(void *, OrtKernelContext *) -
KernelCompute
Getter for field:void (*KernelCompute)(void *, OrtKernelContext *) -
KernelCompute
Setter for field:void (*KernelCompute)(void *, OrtKernelContext *) -
KernelDestroy$layout
Layout for field:void (*KernelDestroy)(void *) -
KernelDestroy$offset
public static final long KernelDestroy$offset()Offset for field:void (*KernelDestroy)(void *) -
KernelDestroy
Getter for field:void (*KernelDestroy)(void *) -
KernelDestroy
Setter for field:void (*KernelDestroy)(void *) -
GetInputCharacteristic$layout
Layout for field:OrtCustomOpInputOutputCharacteristic (*GetInputCharacteristic)(const struct OrtCustomOp *, size_t) -
GetInputCharacteristic$offset
public static final long GetInputCharacteristic$offset()Offset for field:OrtCustomOpInputOutputCharacteristic (*GetInputCharacteristic)(const struct OrtCustomOp *, size_t) -
GetInputCharacteristic
Getter for field:OrtCustomOpInputOutputCharacteristic (*GetInputCharacteristic)(const struct OrtCustomOp *, size_t) -
GetInputCharacteristic
Setter for field:OrtCustomOpInputOutputCharacteristic (*GetInputCharacteristic)(const struct OrtCustomOp *, size_t) -
GetOutputCharacteristic$layout
Layout for field:OrtCustomOpInputOutputCharacteristic (*GetOutputCharacteristic)(const struct OrtCustomOp *, size_t) -
GetOutputCharacteristic$offset
public static final long GetOutputCharacteristic$offset()Offset for field:OrtCustomOpInputOutputCharacteristic (*GetOutputCharacteristic)(const struct OrtCustomOp *, size_t) -
GetOutputCharacteristic
Getter for field:OrtCustomOpInputOutputCharacteristic (*GetOutputCharacteristic)(const struct OrtCustomOp *, size_t) -
GetOutputCharacteristic
Setter for field:OrtCustomOpInputOutputCharacteristic (*GetOutputCharacteristic)(const struct OrtCustomOp *, size_t) -
GetInputMemoryType$layout
Layout for field:OrtMemType (*GetInputMemoryType)(const struct OrtCustomOp *, size_t) -
GetInputMemoryType$offset
public static final long GetInputMemoryType$offset()Offset for field:OrtMemType (*GetInputMemoryType)(const struct OrtCustomOp *, size_t) -
GetInputMemoryType
Getter for field:OrtMemType (*GetInputMemoryType)(const struct OrtCustomOp *, size_t) -
GetInputMemoryType
Setter for field:OrtMemType (*GetInputMemoryType)(const struct OrtCustomOp *, size_t) -
GetVariadicInputMinArity$layout
Layout for field:int (*GetVariadicInputMinArity)(const struct OrtCustomOp *) -
GetVariadicInputMinArity$offset
public static final long GetVariadicInputMinArity$offset()Offset for field:int (*GetVariadicInputMinArity)(const struct OrtCustomOp *) -
GetVariadicInputMinArity
Getter for field:int (*GetVariadicInputMinArity)(const struct OrtCustomOp *) -
GetVariadicInputMinArity
Setter for field:int (*GetVariadicInputMinArity)(const struct OrtCustomOp *) -
GetVariadicInputHomogeneity$layout
Layout for field:int (*GetVariadicInputHomogeneity)(const struct OrtCustomOp *) -
GetVariadicInputHomogeneity$offset
public static final long GetVariadicInputHomogeneity$offset()Offset for field:int (*GetVariadicInputHomogeneity)(const struct OrtCustomOp *) -
GetVariadicInputHomogeneity
Getter for field:int (*GetVariadicInputHomogeneity)(const struct OrtCustomOp *) -
GetVariadicInputHomogeneity
Setter for field:int (*GetVariadicInputHomogeneity)(const struct OrtCustomOp *) -
GetVariadicOutputMinArity$layout
Layout for field:int (*GetVariadicOutputMinArity)(const struct OrtCustomOp *) -
GetVariadicOutputMinArity$offset
public static final long GetVariadicOutputMinArity$offset()Offset for field:int (*GetVariadicOutputMinArity)(const struct OrtCustomOp *) -
GetVariadicOutputMinArity
Getter for field:int (*GetVariadicOutputMinArity)(const struct OrtCustomOp *) -
GetVariadicOutputMinArity
Setter for field:int (*GetVariadicOutputMinArity)(const struct OrtCustomOp *) -
GetVariadicOutputHomogeneity$layout
Layout for field:int (*GetVariadicOutputHomogeneity)(const struct OrtCustomOp *) -
GetVariadicOutputHomogeneity$offset
public static final long GetVariadicOutputHomogeneity$offset()Offset for field:int (*GetVariadicOutputHomogeneity)(const struct OrtCustomOp *) -
GetVariadicOutputHomogeneity
Getter for field:int (*GetVariadicOutputHomogeneity)(const struct OrtCustomOp *) -
GetVariadicOutputHomogeneity
Setter for field:int (*GetVariadicOutputHomogeneity)(const struct OrtCustomOp *) -
CreateKernelV2$layout
Layout for field:OrtStatusPtr (*CreateKernelV2)(const struct OrtCustomOp *, const OrtApi *, const OrtKernelInfo *, void **) -
CreateKernelV2$offset
public static final long CreateKernelV2$offset()Offset for field:OrtStatusPtr (*CreateKernelV2)(const struct OrtCustomOp *, const OrtApi *, const OrtKernelInfo *, void **) -
CreateKernelV2
Getter for field:OrtStatusPtr (*CreateKernelV2)(const struct OrtCustomOp *, const OrtApi *, const OrtKernelInfo *, void **) -
CreateKernelV2
Setter for field:OrtStatusPtr (*CreateKernelV2)(const struct OrtCustomOp *, const OrtApi *, const OrtKernelInfo *, void **) -
KernelComputeV2$layout
Layout for field:OrtStatusPtr (*KernelComputeV2)(void *, OrtKernelContext *) -
KernelComputeV2$offset
public static final long KernelComputeV2$offset()Offset for field:OrtStatusPtr (*KernelComputeV2)(void *, OrtKernelContext *) -
KernelComputeV2
Getter for field:OrtStatusPtr (*KernelComputeV2)(void *, OrtKernelContext *) -
KernelComputeV2
Setter for field:OrtStatusPtr (*KernelComputeV2)(void *, OrtKernelContext *) -
InferOutputShapeFn$layout
Layout for field:OrtStatusPtr (*InferOutputShapeFn)(const struct OrtCustomOp *, OrtShapeInferContext *) -
InferOutputShapeFn$offset
public static final long InferOutputShapeFn$offset()Offset for field:OrtStatusPtr (*InferOutputShapeFn)(const struct OrtCustomOp *, OrtShapeInferContext *) -
InferOutputShapeFn
Getter for field:OrtStatusPtr (*InferOutputShapeFn)(const struct OrtCustomOp *, OrtShapeInferContext *) -
InferOutputShapeFn
Setter for field:OrtStatusPtr (*InferOutputShapeFn)(const struct OrtCustomOp *, OrtShapeInferContext *) -
GetStartVersion$layout
Layout for field:int (*GetStartVersion)(const struct OrtCustomOp *) -
GetStartVersion$offset
public static final long GetStartVersion$offset()Offset for field:int (*GetStartVersion)(const struct OrtCustomOp *) -
GetStartVersion
Getter for field:int (*GetStartVersion)(const struct OrtCustomOp *) -
GetStartVersion
Setter for field:int (*GetStartVersion)(const struct OrtCustomOp *) -
GetEndVersion$layout
Layout for field:int (*GetEndVersion)(const struct OrtCustomOp *) -
GetEndVersion$offset
public static final long GetEndVersion$offset()Offset for field:int (*GetEndVersion)(const struct OrtCustomOp *) -
GetEndVersion
Getter for field:int (*GetEndVersion)(const struct OrtCustomOp *) -
GetEndVersion
Setter for field:int (*GetEndVersion)(const struct OrtCustomOp *) -
GetMayInplace$layout
Layout for field:size_t (*GetMayInplace)(int **, int **) -
GetMayInplace$offset
public static final long GetMayInplace$offset()Offset for field:size_t (*GetMayInplace)(int **, int **) -
GetMayInplace
Getter for field:size_t (*GetMayInplace)(int **, int **) -
GetMayInplace
Setter for field:size_t (*GetMayInplace)(int **, int **) -
ReleaseMayInplace$layout
Layout for field:void (*ReleaseMayInplace)(int *, int *) -
ReleaseMayInplace$offset
public static final long ReleaseMayInplace$offset()Offset for field:void (*ReleaseMayInplace)(int *, int *) -
ReleaseMayInplace
Getter for field:void (*ReleaseMayInplace)(int *, int *) -
ReleaseMayInplace
Setter for field:void (*ReleaseMayInplace)(int *, int *) -
GetAliasMap$layout
Layout for field:size_t (*GetAliasMap)(int **, int **) -
GetAliasMap$offset
public static final long GetAliasMap$offset()Offset for field:size_t (*GetAliasMap)(int **, int **) -
GetAliasMap
Getter for field:size_t (*GetAliasMap)(int **, int **) -
GetAliasMap
Setter for field:size_t (*GetAliasMap)(int **, int **) -
ReleaseAliasMap$layout
Layout for field:void (*ReleaseAliasMap)(int *, int *) -
ReleaseAliasMap$offset
public static final long ReleaseAliasMap$offset()Offset for field:void (*ReleaseAliasMap)(int *, int *) -
ReleaseAliasMap
Getter for field:void (*ReleaseAliasMap)(int *, int *) -
ReleaseAliasMap
Setter for field:void (*ReleaseAliasMap)(int *, int *) -
asSlice
Obtains a slice ofarrayParamwhich selects the array element atindex. The returned segment has addressarrayParam.address() + index * layout().byteSize() -
sizeof
public static long sizeof()The size (in bytes) of this struct -
allocate
Allocate a segment of sizelayout().byteSize()usingallocator -
allocateArray
Allocate an array of sizeelementCountusingallocator. The returned segment has sizeelementCount * layout().byteSize(). -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizelayout().byteSize() -
reinterpret
public static MemorySegment reinterpret(MemorySegment addr, long elementCount, Arena arena, Consumer<MemorySegment> cleanup) Reinterpretsaddrusing targetarenaandcleanupAction(if any). The returned segment has sizeelementCount * layout().byteSize()
-