Have a question? Connect with the community at the TensorFlow Forum Visit Forum

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