RNNCell

scalation.modeling.autograd.RNNCell
See theRNNCell companion class
object RNNCell

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

Attributes

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

Members list

Value members

Concrete methods

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

Create a new RNNCell instance.

Create a new RNNCell instance.

Value parameters

activation

activation function to use: "tanh" (default) or "relu"

hiddenSize

number of hidden units

inputSize

number of input features

ops

implicit autograd operations

Attributes

Returns

a new instance of RNNCell