Google I/O is a wrap! Catch up on TensorFlow sessions View sessions

Collatable

public protocol Collatable

Types whose elements can be collated in some higher-rank element of the same type (example: tensors, tuple of tensors)

  • Declaration

    init<BatchSamples: Collection>(collating: BatchSamples)
    where BatchSamples.Element == Self