summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/tnet_preprocessing_example.lua4
-rw-r--r--examples/tnet_preprocessing_example2.lua4
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/tnet_preprocessing_example.lua b/examples/tnet_preprocessing_example.lua
index 5f20910..9e1c0ce 100644
--- a/examples/tnet_preprocessing_example.lua
+++ b/examples/tnet_preprocessing_example.lua
@@ -69,7 +69,7 @@ main:propagate({rearranged}, output)
for i = 0, 157 - 10 do
row_diff = input.trans[i] - output[1][i + 5]
for j = 0, row_diff:ncol() - 1 do
- nerv.utils.printf("%.8f ", row_diff[j])
+ nerv.printf("%.8f ", row_diff[j])
end
- nerv.utils.printf("\n")
+ nerv.printf("\n")
end
diff --git a/examples/tnet_preprocessing_example2.lua b/examples/tnet_preprocessing_example2.lua
index 8e1bc85..1215b23 100644
--- a/examples/tnet_preprocessing_example2.lua
+++ b/examples/tnet_preprocessing_example2.lua
@@ -62,7 +62,7 @@ print(utter.ref)
-- for i = 0, 157 - 10 do
-- row_diff = input.trans[i] - utter.main_scp[i]
-- for j = 0, row_diff:ncol() - 1 do
--- nerv.utils.printf("%.8f ", row_diff[j])
+-- nerv.printf("%.8f ", row_diff[j])
-- end
--- nerv.utils.printf("\n")
+-- nerv.printf("\n")
-- end