AI::MXNet::Gluon::Data::Set
Abstract dataset class. All datasets should have this interface. Subclasses need to override method at($i), which returns the i-th element, method len() which returns the total number elements. AI::MXNet::NDArray can be directly used as a dataset.
AI::MXNet::Gluon::Data::ArrayDataset
A dataset with a data array and a label array. The i-th sample is `(data[i], label[i])`. Parameters ---------- data : AI::MXNet::NDArray or PDL The data array. label : AI::MXNet::NDArray or PDL The label array.
AI::MXNet::Gluon::Data::RecordFileSet
A dataset wrapping over a RecordIO (.rec) file. Each sample is a string representing the raw content of an record. Parameters ---------- filename : str Path to rec file.
To install AI::MXNet, copy and paste the appropriate command in to your terminal.
cpanm
cpanm AI::MXNet
CPAN shell
perl -MCPAN -e shell install AI::MXNet
For more information on module installation, please visit the detailed CPAN module installation guide.