Struct tch::nn::LSTM

source · []
pub struct LSTM { /* private fields */ }
Expand description

A Long Short-Term Memory (LSTM) layer.

https://en.wikipedia.org/wiki/Long_short-term_memory

Trait Implementations

Formats the value using the given formatter. Read more

A zero state from which the recurrent network is usually initialized.

Applies a single step of the recurrent network. Read more

Applies multiple steps of the recurrent network. Read more

Applies multiple steps of the recurrent network. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.