| Constructor |
Description
|
Full Usage:
TextDataset(text, seqLength, ?chars)
Parameters:
string
seqLength : int
?chars : string
Returns: TextDataset
|
|
| Instance member |
Description
|
Full Usage:
this.charToIndex c
Parameters:
char
Returns: int
|
|
Full Usage:
this.chars
Returns: char array
|
|
Full Usage:
this.indexToChar i
Parameters:
int
Returns: char
|
|
Full Usage:
this.numChars
Returns: int
|
|
|
|
|
|
Dataset
| Instance member |
Description
|
|
|
|
|
|
|
Full Usage:
this.loader (batchSize, ?shuffle, ?dropLast, ?device, ?dtype, ?backend, ?targetDevice, ?targetDtype, ?targetBackend)
Parameters:
int
?shuffle : bool
?dropLast : bool
?device : Device
?dtype : Dtype
?backend : Backend
?targetDevice : Device
?targetDtype : Dtype
?targetBackend : Backend
Returns: DataLoader
|
|
Full Usage:
this.length
Returns: int
Modifiers: abstract |
|
© Copyright 2021, DiffSharp and dfx Contributors.