Package ai.djl
Class Application
- java.lang.Object
-
- ai.djl.Application
-
public class Application extends java.lang.Object
A class contains common tasks that can be completed using deep learning.If you view deep learning models as being like a function, then the application is like the function signature. Because there are relatively few signatures used with a lot of research that goes into them, the common signatures are identified by a name. The application is that name.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
Application.CV
The common set of applications for computer vision (image and video data).static interface
Application.NLP
The common set of applications for natural language processing (text data).static interface
Application.Tabular
The common set of applications for tabular data.
-
Field Summary
Fields Modifier and Type Field Description static Application
UNDEFINED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getPath()
Returns the repository path of the application.int
hashCode()
boolean
matches(Application test)
Returns whether this application matches the test application set.static Application
of(java.lang.String path)
Converts a path string to aApplication
.java.lang.String
toString()
-
-
-
Field Detail
-
UNDEFINED
public static final Application UNDEFINED
-
-
Method Detail
-
getPath
public java.lang.String getPath()
Returns the repository path of the application.- Returns:
- the repository path of the application
-
of
public static Application of(java.lang.String path)
Converts a path string to aApplication
.- Parameters:
path
- the repository path of the application- Returns:
- the
Application
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
matches
public boolean matches(Application test)
Returns whether this application matches the test application set.- Parameters:
test
- a application or application set to test against- Returns:
- true if it fits within the application set
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-