Package smile.vision
Class VisionModel
java.lang.Object
smile.deep.Model
smile.vision.VisionModel
The computer vision models.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionforward
(BufferedImage... images) Forward propagation (or forward pass) through the model.Returns the associated image transform.Methods inherited from class smile.deep.Model
apply, asTorch, device, dtype, eval, eval, forward, load, save, setLearningRateSchedule, to, to, toString, train, train, train
-
Constructor Details
-
VisionModel
Constructor.- Parameters:
net
- the neural network.transform
- the image transform.
-
-
Method Details
-
forward
Forward propagation (or forward pass) through the model.- Parameters:
images
- the input images.- Returns:
- the output tensor.
-
transform
Returns the associated image transform.- Returns:
- the associated image transform.
-