RNN

scalation.modeling.autograd.RNN
See theRNN companion class
object RNN

The RNN object provides a factory method for creating instances of the RNN class.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
RNN.type

Members list

Value members

Concrete methods

def apply(inputSize: Int, hiddenSize: Int, numLayers: Int = ..., activation: String = ...)(using ops: AutogradOps): RNN

Factory method for creating a standard RNN instance.

Factory method for creating a standard RNN instance.

Value parameters

activation

nonlinearity to apply ("tanh" or "relu", default = "tanh")

hiddenSize

number of features in the hidden state

inputSize

number of features in the input at each time step

numLayers

number of stacked RNN layers (default = 1)

ops

implicit autograd operations

Attributes

Returns

an instance of RNN