Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Config holds the data read by rai-project/config Config = &dldatasetConfig{ done: make(chan struct{}), } )
Config ...
Functions ¶
Types ¶
type Dataset ¶
type Dataset interface {
New(ctx context.Context) (Dataset, error)
Category() string
Name() string
CanonicalName() string
Download(ctx context.Context) error
List(ctx context.Context) ([]string, error)
Load(ctx context.Context) error
Get(ctx context.Context, name string) (LabeledData, error)
Next(ctx context.Context) (LabeledData, error)
io.Closer
}
Dataset ...
type LabeledData ¶
type LabeledData interface {
Label() string
Feature() *dlframework.Feature
Features() dlframework.Features
Data() (interface{}, error)
}
LabeledData ...
Click to show internal directories.
Click to hide internal directories.