@frozen
public struct DatasetIterator<Element> where Element : TensorGroup

The type that allows iteration over a dataset’s elements.

  • Advances to the next element and returns it, or nil if no next element exists.

    Declaration

    public mutating func next() -> Element?