Created
January 7, 2023 08:36
-
-
Save deleteman/db7941d85e888bbfe6931b280cc8cf1d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function printImage(network) { | |
for(let y = 0; y < 6; y++) { | |
let row = [] | |
for(let x = 0; x < 8; x++) { | |
row.push(Math.round(network.activate([x,y]) )) | |
} | |
console.log(row.join(",")) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment