Uyarı: Bu proje kullanımdan kaldırıldı. TensorFlow için Swift, makine öğrenimi, derleyiciler, türevlenebilir programlama, sistem tasarımı ve ötesindeki en son araştırmaları birleştiren yeni nesil makine öğrenimi platformunda bir deneydi. Şubat 2021'de arşivlendi.
GRUCell
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
beyan
public var updateKernel: Tensor<Scalar>
beyan
public var updateRecurrentKernel: Tensor<Scalar>
beyan
public var resetKernel: Tensor<Scalar>
beyan
public var resetRecurrentKernel: Tensor<Scalar>
beyan
public var outputKernel: Tensor<Scalar>
beyan
public var outputRecurrentKernel: Tensor<Scalar>
beyan
public var updateBias: Tensor<Scalar>
beyan
public var updateRecurrentBias: Tensor<Scalar>
beyan
public var resetBias: Tensor<Scalar>
beyan
public var resetRecurrentBias: Tensor<Scalar>
beyan
public var outputBias: Tensor<Scalar>
beyan
public var outputRecurrentBias: Tensor<Scalar>
beyan
@noDerivative
public var stateShape: TensorShape { get }
beyan
public func zeroState(for input: Tensor<Scalar>) -> State
beyan
public typealias State = Tensor<Scalar>
beyan
public typealias TimeStepInput = Tensor<Scalar>
beyan
public typealias TimeStepOutput = State
Belirtilen giriş boyutuna ve gizli durum boyutuna sahip bir GRUCell
oluşturur.
Parametreler
inputSize | 2 boyutlu giriş tensörlerindeki özelliklerin sayısı. |
hiddenSize | 2 boyutlu gizli durumlardaki özelliklerin sayısı. |
Katmanın verilen girişe uygulanmasıyla elde edilen çıktıyı döndürür.
beyan
@differentiable
public func callAsFunction(_ input: Input) -> Output
Dönüş Değeri
Gizli durum.
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2024-09-23 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"İhtiyacım olan bilgiler yok"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Çok karmaşık / çok fazla adım var"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Güncel değil"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Çeviri sorunu"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Örnek veya kod sorunu"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Diğer"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Anlaması kolay"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Sorunumu çözdü"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Diğer"
}]
{"lastModified": "Son g\u00fcncelleme tarihi: 2024-09-23 UTC."}
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2024-09-23 UTC."]]