case class FreeRunningRNN[T, M <: StatefulModule[Variable, Variable, T]](module: M & StatefulModule[Variable, Variable, T], timeSteps: Int) extends StatefulModule[Variable, Variable, T]
Wraps a (sequence x batch) long -> (sequence x batch x dim) double stateful
module and runs in it greedy (argmax) generation mode over timeSteps
steps.
- Companion:
- object
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Value members
Inherited methods
Computes the gradient of loss with respect to the parameters.
Computes the gradient of loss with respect to the parameters.
- Inherited from:
- GenericModule
Returns the total number of optimizable parameters.
Returns the total number of optimizable parameters.
- Inherited from:
- GenericModule
Returns the state variables which need gradient computation.
Returns the state variables which need gradient computation.
- Inherited from:
- GenericModule