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
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);
};