ארץ

public struct State : Equatable, Differentiable, VectorProtocol, KeyPathIterable, Mergeable
  • הַצהָרָה

    public var cell: Tensor<Scalar>
  • הַצהָרָה

    public var hidden: Tensor<Scalar>
  • הַצהָרָה

    @differentiable
    public init(cell: Tensor<Scalar>, 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