Modifier and Type | Method and Description |
---|---|
OrtSession |
OrtEnvironment.createSession(byte[] modelArray)
Create a session using the default
OrtSession.SessionOptions , model and the default memory allocator. |
OrtSession |
OrtEnvironment.createSession(byte[] modelArray,
OrtSession.SessionOptions options)
Create a session using the specified
OrtSession.SessionOptions , model and the default memory allocator. |
OrtSession |
OrtEnvironment.createSession(java.lang.String modelPath)
Create a session using the default
OrtSession.SessionOptions , model and the default memory allocator. |
OrtSession |
OrtEnvironment.createSession(java.lang.String modelPath,
OrtSession.SessionOptions options)
Create a session using the specified
OrtSession.SessionOptions , model and the default memory allocator. |