Proyecto Final - Turinmachin
Recreación del minijuego de matemáticas de Brain-Age usando redes neuronales
Loading...
Searching...
No Matches
common Namespace Reference

Classes

class  DigitReader
class  IAgent
struct  Sample
class  Tensor
 Representa un tensor de tipo T y rango Rank. More...

Typedefs

using IDigitAgent = IAgent<std::vector<double>, int>
using DigitSample = Sample<std::vector<double>, int>

Functions

auto get_data_path () -> std::string
auto get_data_file_path (const std::string &file_path) -> std::string
auto get_data_file_path_unchecked (const std::string &file_path) -> std::string
auto get_data_file_unchecked (const std::string &path) -> std::ifstream
auto get_data_file (const std::string &path) -> std::ifstream
void he_init (utec::algebra::Tensor< double, 2 > &tensor, std::mt19937 &rng)

Variables

constexpr std::size_t IMAGE_WIDTH = 8
constexpr std::size_t IMAGE_HEIGHT = 8
constexpr std::size_t IMAGE_SIZE = IMAGE_WIDTH * IMAGE_HEIGHT
constexpr double IMAGE_DIMENSION = 16.0

Typedef Documentation

◆ DigitSample

using common::DigitSample = Sample<std::vector<double>, int>

◆ IDigitAgent

using common::IDigitAgent = IAgent<std::vector<double>, int>

Function Documentation

◆ get_data_file()

auto common::get_data_file ( const std::string & path) -> std::ifstream
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_data_file_path()

auto common::get_data_file_path ( const std::string & file_path) -> std::string
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_data_file_path_unchecked()

auto common::get_data_file_path_unchecked ( const std::string & file_path) -> std::string
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_data_file_unchecked()

auto common::get_data_file_unchecked ( const std::string & path) -> std::ifstream
Here is the call graph for this function:

◆ get_data_path()

auto common::get_data_path ( ) -> std::string
Here is the caller graph for this function:

◆ he_init()

void common::he_init ( utec::algebra::Tensor< double, 2 > & tensor,
std::mt19937 & rng )
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ IMAGE_DIMENSION

double common::IMAGE_DIMENSION = 16.0
constexpr

◆ IMAGE_HEIGHT

std::size_t common::IMAGE_HEIGHT = 8
constexpr

◆ IMAGE_SIZE

std::size_t common::IMAGE_SIZE = IMAGE_WIDTH * IMAGE_HEIGHT
constexpr

◆ IMAGE_WIDTH

std::size_t common::IMAGE_WIDTH = 8
constexpr