Documentation
GitHub
Example
Dlang.org
Dataset
grain
dataset
cifar
struct
Dataset {
Slice
!(
float
*,
4
)
inputs
;
Slice
!(
int
*,
1
)
targets
;
Slice
!(
int
*,
1
)
coarses
;
this
(
string
[]
paths
)
;
auto
makeBatch
(
size_t
batchSize
)
;
}
Constructors
this
this
(
string
[]
paths
)
Members
Functions
makeBatch
auto
makeBatch
(
size_t
batchSize
)
Variables
inputs
Slice
!(
float
*,
4
)
inputs
;
shape is [data, rgb, width, height]
Meta
Source
See Implementation
grain
dataset
cifar
functions
prepareDataset
structs
Dataset