aboutsummaryrefslogtreecommitdiff
path: root/pseudocode/operators/VARIABLE_READ.tosac
diff options
context:
space:
mode:
Diffstat (limited to 'pseudocode/operators/VARIABLE_READ.tosac')
-rw-r--r--pseudocode/operators/VARIABLE_READ.tosac2
1 files changed, 1 insertions, 1 deletions
diff --git a/pseudocode/operators/VARIABLE_READ.tosac b/pseudocode/operators/VARIABLE_READ.tosac
index c2e0e38..74b5905 100644
--- a/pseudocode/operators/VARIABLE_READ.tosac
+++ b/pseudocode/operators/VARIABLE_READ.tosac
@@ -21,6 +21,6 @@ REQUIRE(variable_tensor.type == out_t);
for_each (index in shape) {
// Read data from pseudo-buffer resource to the output
out_t value = tensor_read<tensor_t>(variable_tensor.data, variable_tensor.shape, index);
- tensor_write<out_t>(input1, shape, index, value);
+ tensor_write<out_t>(output1, shape, index, value);
}