StandardModel consists of a model that implements a Forward variadic function that accepts mat.Tensor and returns a slice of mat.Tensor. It is called StandardModel since this is the most frequent forward method among all implemented neural models.
| 99 | // StandardModel consists of a model that implements a Forward variadic function that accepts mat.Tensor and returns a slice of mat.Tensor. |
| 100 | // It is called StandardModel since this is the most frequent forward method among all implemented neural models. |
| 101 | type StandardModel interface { |
| 102 | Model |
| 103 | |
| 104 | // Forward executes the forward step of the model. |
| 105 | Forward(...mat.Tensor) []mat.Tensor |
| 106 | } |
| 107 | |
| 108 | type ModuleList[T StandardModel] []T |
| 109 |
no outgoing calls
no test coverage detected