There was an error while loading. Please reload this page.
1 parent 90bc75c commit 85feaf8Copy full SHA for 85feaf8
src/main/java/javax/visrec/util/ModelProvider.java
@@ -1,14 +1,12 @@
1
package javax.visrec.util;
2
3
/**
4
- * This interface should be implemented if we want to allow access to underlying ML model
5
- * @author Zoran
6
- * @param <M>
+ * This interface should be implemented by classes which expose access to underlying ML model
+ *
+ * @param <T> Type of underlying ML model
7
*/
8
-public interface ModelProvider<M> {
+public interface ModelProvider<T> {
9
10
- M getModel();
11
-
12
- // also provide public setModel to allow model injection?
+ T getModel();
13
14
}
0 commit comments