public struct State : Equatable, Differentiable, VectorProtocol, KeyPathIterable, Mergeable
تصريح
public var cell: Tensor<Scalar>
تصريح
public var hidden: Tensor<Scalar>
يسلسل قيمتين.
تصريح
@differentiable public static func concatenate(_ lhs: `Self`, _ rhs: `Self`) -> LSTMCell<Scalar>.State
جمع قيمتين وينتج مجموعهما.
تصريح
@differentiable public static func sum(_ lhs: `Self`, _ rhs: `Self`) -> LSTMCell<Scalar>.State
متوسط قيمتين.
تصريح
@differentiable public static func average(_ lhs: `Self`, _ rhs: `Self`) -> LSTMCell<Scalar>.State
ضرب قيمتين.
تصريح
@differentiable public static func multiply(_ lhs: `Self`, _ rhs: `Self`) -> LSTMCell<Scalar>.State
كومة قيمتين.
تصريح
@differentiable public static func stack(_ lhs: `Self`, _ rhs: `Self`) -> LSTMCell<Scalar>.State