MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / Processor

Interface Processor

serving/sdk/java/src/main/java/Demo.java:28–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27 // Load shared library via JNA
28 public interface Processor extends Library
29 {
30 Processor INSTANCE = (Processor) Native.load("serving_processor", Processor.class);
31
32 // Define shared library function prototype
33 public Pointer initialize(String modelEntry, String modelConfig, int[] state);
34
35 public int process(Pointer model, byte[] buffer, int size, PointerByReference outputData, int[] outputSize);
36 }
37
38 public static void main(String[] args) {
39 Demo demo = new Demo();

Callers 15

demo.pyFile · 0.65
mainMethod · 0.65
benchmark_trainMethod · 0.65
dynamic_decodeFunction · 0.65
initializeMethod · 0.65
initializeMethod · 0.65
initializeMethod · 0.65
initializeMethod · 0.65
demo.pyFile · 0.65
mainMethod · 0.65
testBasicsMethod · 0.65
build_doc_indexFunction · 0.65

Calls 1

loadMethod · 0.45

Tested by

no test coverage detected