This repository has been archived on 2024-12-15. You can view files and clone it, but cannot push or open issues or pull requests.
Neuro/Net.h

15 lines
311 B
C
Raw Normal View History

2015-03-23 18:28:29 +00:00
#pragma once
#include <vector>
#include "Layer.h"
2015-03-23 18:28:29 +00:00
class Net : public std::vector < Layer >
{
public:
Net(std::initializer_list<unsigned int> layerSizes);
2015-03-23 18:28:29 +00:00
void feedForward(const std::vector<double> &inputValues);
std::vector<double> getResult();
void backProp(const std::vector<double> &targetValues);
2015-03-23 18:28:29 +00:00
};