Public Member Functions | |
DataSetBatch () | |
Default constructor. More... | |
DataSetBatch (const Index &, DataSet *) | |
virtual | ~DataSetBatch () |
Destructor. More... | |
Index | get_samples_number () const |
void | set (const Index &, DataSet *) |
void | fill (const Tensor< Index, 1 > &, const Tensor< Index, 1 > &, const Tensor< Index, 1 > &) |
void | print () const |
Public Attributes | |
Index | samples_number = 0 |
DataSet * | data_set_pointer = nullptr |
Tensor< type, 2 > | inputs_2d |
Tensor< type, 4 > | inputs_4d |
Tensor< type, 2 > | targets_2d |
Definition at line 886 of file data_set.h.
|
inline |
Default constructor.
Definition at line 890 of file data_set.h.
DataSetBatch | ( | const Index & | new_samples_number, |
DataSet * | new_data_set_pointer | ||
) |
Definition at line 11061 of file data_set.cpp.
|
inlinevirtual |
Destructor.
Definition at line 896 of file data_set.h.
void fill | ( | const Tensor< Index, 1 > & | samples, |
const Tensor< Index, 1 > & | inputs, | ||
const Tensor< Index, 1 > & | targets | ||
) |
Definition at line 11016 of file data_set.cpp.
Index get_samples_number | ( | ) | const |
Definition at line 11095 of file data_set.cpp.
void print | ( | ) | const |
Definition at line 11101 of file data_set.cpp.
void set | ( | const Index & | new_samples_number, |
DataSet * | new_data_set_pointer | ||
) |
Definition at line 11067 of file data_set.cpp.
DataSet* data_set_pointer = nullptr |
Definition at line 908 of file data_set.h.
Tensor<type, 2> inputs_2d |
Definition at line 910 of file data_set.h.
Tensor<type, 4> inputs_4d |
Definition at line 911 of file data_set.h.
Index samples_number = 0 |
Definition at line 906 of file data_set.h.
Tensor<type, 2> targets_2d |
Definition at line 913 of file data_set.h.