MCPcopy Create free account
hub / github.com/FidoProject/Fido / numberOfInputs

Method numberOfInputs

src/NeuralNet.cpp:232–234  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232unsigned int NeuralNet::numberOfInputs() {
233 return net[0].neurons[0].weights.size() - 1;
234}
235
236unsigned int NeuralNet::numberOfOutputs() {
237 return net[net.size() - 1].neurons.size();

Callers 2

network.cppFile · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected