public struct State : Equatable, Differentiable, VectorProtocol, KeyPathIterable, Mergeable
Pernyataan
public var cell: Tensor<Scalar>
Pernyataan
public var hidden: Tensor<Scalar>
Menggabungkan dua nilai.
Pernyataan
@differentiable public static func concatenate(_ lhs: `Self`, _ rhs: `Self`) -> LSTMCell<Scalar>.State
Menambahkan dua nilai dan menghasilkan jumlahnya.
Pernyataan
@differentiable public static func sum(_ lhs: `Self`, _ rhs: `Self`) -> LSTMCell<Scalar>.State
Rata-rata dua nilai.
Pernyataan
@differentiable public static func average(_ lhs: `Self`, _ rhs: `Self`) -> LSTMCell<Scalar>.State
Mengalikan dua nilai.
Pernyataan
@differentiable public static func multiply(_ lhs: `Self`, _ rhs: `Self`) -> LSTMCell<Scalar>.State
Tumpuk dua nilai.
Pernyataan
@differentiable public static func stack(_ lhs: `Self`, _ rhs: `Self`) -> LSTMCell<Scalar>.State