From ebd66e65bf18574fa8905d7b0ae3fbb85bfc9e06 Mon Sep 17 00:00:00 2001 From: jvech Date: Tue, 6 Aug 2024 14:29:42 -0500 Subject: add: file parsing improved Things implemented: * json_read() must die if the key does not exist or the value type is wrong. * on predict command input should be shown exactly the same * float precision CLI option should be added. --- tests/architectures/gauss2d.cfg | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 tests/architectures/gauss2d.cfg (limited to 'tests/architectures/gauss2d.cfg') diff --git a/tests/architectures/gauss2d.cfg b/tests/architectures/gauss2d.cfg new file mode 100644 index 0000000..d9236ad --- /dev/null +++ b/tests/architectures/gauss2d.cfg @@ -0,0 +1,19 @@ +[net] +loss = square ; options (square) +epochs = 1000 ; comment +alpha = 2e-4 +weights_path = data/gauss2d.bin +inputs = x,y +labels = z + +; activation options (relu, sigmoid, softplus, leaky_relu) + +[layer] +neurons=20 +activation=sigmoid +[layer] +neurons=10 +activation=relu + +[outlayer] +activation = sigmoid -- cgit v1.2.3-70-g09d2