From afaaa673e1620315e0d7d863d7bcef1a2dc54df9 Mon Sep 17 00:00:00 2001 From: Kevin Petit Date: Thu, 8 Feb 2024 11:03:31 +0000 Subject: pseudocode: a collection of variable declaration fixes Only cases where types are obvious. - Add missing types - Do not re-declare variables - Fix scope of declaration Signed-off-by: Kevin Petit Change-Id: I7d44d9adde606094e0a7910fb438649521ff3ec0 --- pseudocode/operators/SIGMOID.tosac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pseudocode/operators/SIGMOID.tosac') diff --git a/pseudocode/operators/SIGMOID.tosac b/pseudocode/operators/SIGMOID.tosac index 048523e..fd9afc7 100644 --- a/pseudocode/operators/SIGMOID.tosac +++ b/pseudocode/operators/SIGMOID.tosac @@ -9,6 +9,6 @@ for_each(index in shape) { in_out_t value1 = tensor_read(input, shape, index); - value = sigmoid(value1); + in_out_t value = sigmoid(value1); tensor_write(output, shape, index, value); } -- cgit v1.2.1