Dataset Type

Represents a dataset.

Constructors

Constructor Description

Dataset()

Full Usage: Dataset()

Returns: Dataset
Returns: Dataset

Instance members

Instance member Description

this.GetSlice

Full Usage: this.GetSlice

Parameters:
    imin : int option
    imax : int option

Returns: DatasetSubset
imin : int option
imax : int option
Returns: DatasetSubset

this.[i]

Full Usage: this.[i]

Parameters:
    i : int

Returns: Tensor * Tensor
i : int
Returns: Tensor * Tensor

this.filter predicate

Full Usage: this.filter predicate

Parameters:
Returns: DatasetSubset
predicate : Tensor -> Tensor -> bool
Returns: DatasetSubset

this.item arg1

Full Usage: this.item arg1

Parameters:
    arg0 : int

Returns: Tensor * Tensor
Modifiers: abstract
arg0 : int
Returns: Tensor * Tensor

this.length

Full Usage: this.length

Returns: int
Modifiers: abstract
Returns: int

this.loader (batchSize, ?shuffle, ?dropLast, ?device, ?dtype, ?backend, ?targetDevice, ?targetDtype, ?targetBackend)

Full Usage: this.loader (batchSize, ?shuffle, ?dropLast, ?device, ?dtype, ?backend, ?targetDevice, ?targetDtype, ?targetBackend)

Parameters:
Returns: DataLoader
batchSize : int
?shuffle : bool
?dropLast : bool
?device : Device
?dtype : Dtype
?backend : Backend
?targetDevice : Device
?targetDtype : Dtype
?targetBackend : Backend
Returns: DataLoader

© Copyright 2021, DiffSharp Contributors.