Neuro/Net.h

15 lines
305 B
C++

#pragma once
#include <vector>
#include "Layer.h"
class Net : public std::vector < Layer >
{
public:
Net(std::initializer_list<size_t> layerSizes);
void feedForward(const std::vector<double> &inputValues);
std::vector<double> getOutput();
void backProp(const std::vector<double> &targetValues);
};