Unificabile
Un tipo con valori che supportano operazioni binarie differenziabili.
Utilizzato da BidirectionalRecurrentLayer
come requisito generico per le funzioni di unione.
Dichiarazione
@differentiable
static func concatenate(_ lhs: Self, _ rhs: Self) -> Self
Aggiunge due valori e produce la loro somma.
Nota
rinominare
sum
a
+
i risultati in un incidente compilatore quando conforme
Tensor
a
Mergeable
(SR-13229).
Dichiarazione
@differentiable
static func sum(_ lhs: Self, _ rhs: Self) -> Self
Dichiarazione
@differentiable
static func average(_ lhs: Self, _ rhs: Self) -> Self
Dichiarazione
@differentiable
static func multiply(_ lhs: Self, _ rhs: Self) -> Self
Dichiarazione
@differentiable
static func stack(_ lhs: Self, _ rhs: Self) -> Self
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2021-09-28 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Mancano le informazioni di cui ho bisogno"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Troppo complicato/troppi passaggi"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Obsoleti"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Problema di traduzione"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Problema relativo a esempi/codice"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Altra"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Facile da capire"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Il problema è stato risolto"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Altra"
}]