MachineIntelligenceCore:Algorithms
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
MNISTTypes.hpp
Go to the documentation of this file.
1 
25 #ifndef MNISTTYPES_HPP_
26 #define MNISTTYPES_HPP_
27 
28 #include <types/MatrixTypes.hpp>
29 #include <types/Sample.hpp>
30 #include <types/Batch.hpp>
31 
32 
33 namespace mic {
34 namespace types {
35 
40 template <typename inputDataType = float>
42 
47 template <typename inputDataType = float>
48 using MNISTSamplePtr = std::shared_ptr<mic::types::MNISTSample<inputDataType> >;
49 
54 template <typename inputDataType = float>
56 
61 template <typename inputDataType = float>
62 using MNISTBatchPtr = std::shared_ptr<mic::types::MNISTBatch<inputDataType> >;
63 
64 
65 }//: namespace types
66 }//: namespace mic
67 
68 
69 
70 #endif /* MNISTTYPES_HPP_ */
Template class storing the sample batches. A batch is stored in fact as three vectors, containing data, labels and sample numbers respectively.
Definition: Batch.hpp:44
Contains definition of basic matrix datatypes derived from Eigen.
std::shared_ptr< mic::types::MNISTSample< inputDataType > > MNISTSamplePtr
Pointer to the <MatrixXf-uint> sample type used by e.g. MNISTImporter.
Definition: MNISTTypes.hpp:48
Template class storing the data-label pairs. Additionally it stores the the index of the sample (main...
Definition: Sample.hpp:38
std::shared_ptr< mic::types::MNISTBatch< inputDataType > > MNISTBatchPtr
Pointer to the <MatrixXf-uint> batch type used by e.g. MNISTImporter.
Definition: MNISTTypes.hpp:62