A functional stateful stream of items
lamp's training loops work from data presented in BatchStreams.
An instance of BatchStream is an description of the data stream, it does not by itself allocates or stores any data. The stream needs to be driven by an interpreter. lamp.data.IOLoops and the companion object BatchStream contain those interpreters to make something useful with a BatchStream.
See the abstract members and the companion object for more documentation.
Type parameters
- C
-
type of accessory resources (e.g. buffers), the stream might need an instance of this type for its working. The intended use for fixed, pre-allocated pinned buffer pairs to facilitate host-device copies. See lamp.Device.toBatched and lamp.BufferPair.
- I
-
the item type , the stream will yield items of this type
- S
-
the state type, the stream will carry over and accumulate state of this type
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-