public struct State : Equatable, Differentiable, VectorProtocol, KeyPathIterable, Mergeable
Declaración
public var cell: Tensor<Scalar>
Declaración
public var hidden: Tensor<Scalar>
Concatena dos valores.
Declaración
@differentiable public static func concatenate(_ lhs: `Self`, _ rhs: `Self`) -> LSTMCell<Scalar>.State
Suma dos valores y produce su suma.
Declaración
@differentiable public static func sum(_ lhs: `Self`, _ rhs: `Self`) -> LSTMCell<Scalar>.State
Promedia dos valores.
Declaración
@differentiable public static func average(_ lhs: `Self`, _ rhs: `Self`) -> LSTMCell<Scalar>.State
Multiplica dos valores.
Declaración
@differentiable public static func multiply(_ lhs: `Self`, _ rhs: `Self`) -> LSTMCell<Scalar>.State
Apila dos valores.
Declaración
@differentiable public static func stack(_ lhs: `Self`, _ rhs: `Self`) -> LSTMCell<Scalar>.State