Object OrtConfiguration.Companion
-
- All Implemented Interfaces:
public class OrtConfiguration.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static OrtConfiguration.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final OrtConfigurationload(Map<String, String> args, File file)Load the OrtConfiguration. -
-
Method Detail
-
load
final OrtConfiguration load(Map<String, String> args, File file)
Load the OrtConfiguration. The different sources are used with this priority:
The configuration file is optional and does not have to exist. However, if it exists, but does not contain a valid configuration, an IllegalArgumentException is thrown.
-
-
-
-