mirror of
https://github.com/augustin64/projet-tipe
synced 2025-01-24 23:46:25 +01:00
15 lines
378 B
C
15 lines
378 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <stdint.h>
|
|
#include <inttypes.h>
|
|
|
|
#ifndef DEF_MNIST_H
|
|
#define DEF_MNIST_H
|
|
|
|
uint32_t swap_endian(uint32_t val);
|
|
int** read_image(unsigned int width, unsigned int height, FILE* ptr);
|
|
int* read_mnist_images_parameters(char* filename);
|
|
int*** read_mnist_images(char* filename);
|
|
unsigned int* read_mnist_labels(char* filename);
|
|
|
|
#endif |