Trainable neural network.
Trainable
01 Syntax
Microsoft.VisualBasic.MachineLearning.RNN.Trainable
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| forwardBackward | 1 | Performs a forward-backward pass for the given indices. |
03 Members
forwardBackward(
Int32(), Int32())Performs a forward-backward pass for the given indices.
Parameters
| Name | Type | Description |
|---|---|---|
ix | Int32() | The input indices; its length must match iy. |
iy | Int32() | The target indices; every index must be smaller than the vocabulary size. |
Returns
The cross-entropy loss.