
com.jyuzawa.onnxruntime_extern.constants$0 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of onnxruntime Show documentation
Show all versions of onnxruntime Show documentation
A Java binding of Microsoft's ONNX Runtime project.
The newest version!
/*
* Copyright (c) 2023 James Yuzawa (https://www.jyuzawa.com/)
* SPDX-License-Identifier: MIT
*/
package com.jyuzawa.onnxruntime_extern;
import static java.lang.foreign.ValueLayout.*;
import java.lang.foreign.*;
import java.lang.invoke.MethodHandle;
class constants$0 {
static final FunctionDescriptor OrtLoggingFunction$FUNC = FunctionDescriptor.ofVoid(
Constants$root.C_POINTER$LAYOUT,
Constants$root.C_INT$LAYOUT,
Constants$root.C_POINTER$LAYOUT,
Constants$root.C_POINTER$LAYOUT,
Constants$root.C_POINTER$LAYOUT,
Constants$root.C_POINTER$LAYOUT);
static final MethodHandle OrtLoggingFunction$MH = RuntimeHelper.downcallHandle(constants$0.OrtLoggingFunction$FUNC);
static final FunctionDescriptor OrtGetApiBase$FUNC = FunctionDescriptor.of(Constants$root.C_POINTER$LAYOUT);
static final MethodHandle OrtGetApiBase$MH =
RuntimeHelper.downcallHandle("OrtGetApiBase", constants$0.OrtGetApiBase$FUNC);
static final FunctionDescriptor OrtThreadWorkerFn$FUNC = FunctionDescriptor.ofVoid(Constants$root.C_POINTER$LAYOUT);
static final MethodHandle OrtThreadWorkerFn$MH = RuntimeHelper.downcallHandle(constants$0.OrtThreadWorkerFn$FUNC);
static final FunctionDescriptor OrtCustomCreateThreadFn$FUNC = FunctionDescriptor.of(
Constants$root.C_POINTER$LAYOUT,
Constants$root.C_POINTER$LAYOUT,
Constants$root.C_POINTER$LAYOUT,
Constants$root.C_POINTER$LAYOUT);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy