public interface FeedForwardParameters extends Parameters
Modifier and Type | Method and Description |
---|---|
FeedForwardParameters |
copy()
Returns a copy of the parameters.
|
Tensor[] |
gradients(com.oracle.labs.mlrg.olcut.util.Pair<Double,SGDVector> score,
SGDVector features)
Generates the parameter gradients given the loss, output gradient and input
features.
|
DenseVector |
predict(SGDVector example)
Generates an un-normalized prediction by feeding the features through the parameters.
|
get, getEmptyCopy, merge, set, update
DenseVector predict(SGDVector example)
example
- The features.Tensor[] gradients(com.oracle.labs.mlrg.olcut.util.Pair<Double,SGDVector> score, SGDVector features)
score
- The loss and gradient.features
- The input features.FeedForwardParameters copy()
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.