Zip2TensorGroup

@frozen
public struct Zip2TensorGroup<T, U> : TensorGroup where T : TensorGroup, U : TensorGroup

TensorGroup に準拠する 2 つのタイプのタプルを表すTensorGroupに準拠する 2 タプルのような構造体。

  • 宣言

    public var first: T
  • 宣言

    public var second: U
  • 宣言

    public init(_ first: T, _ second: U)
  • 宣言

    public init(_owning tensorHandles: UnsafePointer<CTensorHandle>?)
  • 宣言

    public init<C: RandomAccessCollection>(
      _handles: C
    ) where C.Element: _AnyTensorHandle