edflow.edsetup_files.dataset module

Summary

Classes:

Dataset

Reference

class edflow.edsetup_files.dataset.Dataset(config)[source]

Bases: edflow.data.dataset_mixin.DatasetMixin, edflow.util.PRNGMixin

__init__(config)[source]

A pure dataset initialisation with random inputs and labels.

Args:

config (dict): The config for the training.

get_example(idx)[source]

Return a dictionary you’re going to work with in the iterator.

Parameters

(int) (idx) –

Returns

example (dict)

Return type

These will be retrieved by their respective keys in the step_op method of the iterator.