package
0.9.1
Repository: https://github.com/sugarme/gotch.git
Documentation: pkg.go.dev

# Functions

NewBatchSampler creates a new BatchSampler.
No description provided by the author
NewKFold creates a new KFold struct.
No description provided by the author
NewMapDataset creates a new MapDataset.
NewRandomSampler creates a new RandomSampler.
No description provided by the author
NewSequentialSampler create a new SequentialSampler n : number of samples in dataset.
NewSliceDataset creates a new SliceDataset.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author

# Structs

BatchSampler constructs a way to draw batches of samples.
DataLoader combines a dataset and a sampler and provides an iterable over the given dataset.
Fold represents a partitions with 2 fields: indexes of train set and test set.
KFold represents a struct helper to split data into partitions.
No description provided by the author
MapDataset holds samples in a map with string type keys.
RandomSampler represents a method to draw a sample randomly from dataset.
No description provided by the author
SequentialSampler represents a method to draw sample by its order in the dataset.
SliceDataset is a slice of samples.

# Interfaces

Dataset represents a set of samples and how to access a sample by its index by implementing `Item()` method.
Sampler represents an interface to draw sample from a dataset by implementing `Sample` method to generate a slice of indices of data samples.

# Type aliases

No description provided by the author
No description provided by the author
No description provided by the author