Skip to content

Commit bfb1d10

Browse files
authored
Fix TanhLayer constructor call syntax
1 parent aab56f5 commit bfb1d10

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

code/nnv/tests/nn/layers/TanhLayer/test_TanhLayer.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
assert(strcmp(L.Name, 'act_func_layer'));
77

88
%% Test 2: TanhLayer constructor - with name
9-
L = TanhLayer({'tanh1'});
9+
L = TanhLayer('tanh1');
1010
assert(strcmp(L.Name, 'tanh1'));
1111

1212
%% Test 3: TanhLayer evaluate - simple input

0 commit comments

Comments
 (0)