DiffSharp


DataLoader Type

Namespace: DiffSharp.Data

Assembly: DiffSharp.Core.dll


Base Type: obj

Constructors

Constructor Description
DataLoader(dataset, batchSize, ?shuffle, ?numBatches, ?dtype, ?device, ?backend, ?targetDtype, ?targetDevice, ?targetBackend)
Full Usage:
DataLoader(dataset, batchSize, ?shuffle, ?numBatches, ?dtype, ?device, ?backend, ?targetDtype, ?targetDevice, ?targetBackend) Parameter Types:
  • dataset : Dataset
  • batchSize : int
  • ?shuffle : bool
  • ?numBatches : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
  • ?targetDtype : Dtype
  • ?targetDevice : Device
  • ?targetBackend : Backend

Return Type: DataLoader
Signature: (dataset: Dataset * batchSize: int * shuffle: bool * numBatches: int * dtype: Dtype * device: Device * backend: Backend * targetDtype: Dtype * targetDevice: Device * targetBackend: Backend) -> DataLoader
Parameter Types:
  • dataset : Dataset
  • batchSize : int
  • ?shuffle : bool
  • ?numBatches : int
  • ?dtype : Dtype
  • ?device : Device
  • ?backend : Backend
  • ?targetDtype : Dtype
  • ?targetDevice : Device
  • ?targetBackend : Backend
Return Type: DataLoader

Instance members

Instance member Description
this.epoch()
Full Usage:
this.epoch()
Return Type: seq<int * Tensor * Tensor>
Signature: unit -> seq<int * Tensor * Tensor>
Return Type: seq<int * Tensor * Tensor>
this.length
Full Usage:
this.length
Return Type: int
Signature: int
Return Type: int