Missed TensorFlow Dev Summit? Check out the video playlist. Watch recordings


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

A 2-tuple-like struct that conforms to TensorGroup that represents a tuple of 2 types conforming to TensorGroup.

  • Declaration

    public var first: T
  • Declaration

    public var second: U
  • Declaration

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

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