Thanks for tuning in to Google I/O. View all sessions on demandWatch on demand


@available(*, deprecated)
public struct DatasetIterator<Element> where Element : TensorGroup
extension DatasetIterator: IteratorProtocol

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.


    public mutating mutating func next() -> Element?