TensorGroup
Stay organized with collections
Save and categorize content based on your preferences.
A protocol representing types that can be mapped to and from Array<CTensorHandle>
.
When a TensorGroup
is used as an argument to a tensor operation, it is passed as an argument
list whose elements are the tensor fields of the type.
When a TensorGroup
is returned as a result of a tensor operation, it is initialized with its
tensor fields set to the tensor operation’s tensor results.
-
Initializes a value of this type, taking ownership of the _tensorHandleCount
tensors
starting at address tensorHandles
.
Declaration
init(_owning tensorHandles: UnsafePointer<CTensorHandle>?)
-
Declaration
public init(_owning tensorHandles: UnsafePointer<CTensorHandle>?, count: Int)
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":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]