Added ascii_nn_input_helper.py

This commit is contained in:
anon
2024-03-10 15:57:35 +01:00
parent cbbad9814a
commit 0245821ffa

16
ascii_nn_input_helper.py Normal file

@ -0,0 +1,16 @@
#!/bin/python3
input = [
" # # ",
"/''--__",
"_---'''",
]
o = []
for i in input:
for h in i:
#print(f" '{h}' (#{round(ord(h)/127, 2)});", end='')
print(f"{round(ord(h)/127, 2)}, ", end='')
#print('')