Advent of Code 2021 in pure TensorFlow - day 10

Going on with the Advent of Code solutions in pure TensorFlow. Here’s how I solved the day 10 puzzle about syntax checking and autocomplete in a very straightforward way.

TensorFlow used as a generic programming language is really versatile!