Deep Learning Visualizer
Interactive visualization of basic applications of deep learning
Loading...
Searching...
No Matches
shared::idx_matrix Class Reference

Represents matrix data from an IDX file as a one dimensional vector. More...

#include <idx_matrix.h>

Public Member Functions

 idx_matrix (const std::filesystem::path &file_path)
 Constructs an IDX matrix from a file.
 
const std::vector< uint8_t > & data () const
 
std::int64_t rows () const
 
std::int64_t cols () const
 

Detailed Description

Represents matrix data from an IDX file as a one dimensional vector.

See also
https://www.fon.hum.uva.nl/praat/manual/IDX_file_format.html
Note
Parses vectors as row vectors unlike the resource above states

Constructor & Destructor Documentation

◆ idx_matrix()

shared::idx_matrix::idx_matrix ( const std::filesystem::path &  file_path)
explicit

Constructs an IDX matrix from a file.

Parameters
file_pathThe path to a .idx file, relative to the project root.

The documentation for this class was generated from the following files: