AoC 2022 in pure TensorFlow: day 5. tf.strings, regex, undefined shapes variables and multidimensional indexing

Hi folks,

slowly, I’m going on with the solution of the Advent of Code 2022 puzzles in pure TensorFlow.

This time, the article is dedicated to a single solution because things are getting more complicated :slight_smile: Check it out!

A deep dive into the tf.strings module, regexp, and some hints for a different solution using variables with undefined shapes!

Moreover, I tried to explain a little bit about how to use tf.meshgrid for creating indexes when working with sparse updates - or at least, I demonstrated how to use it in the hope of sharing knowledge about this way of working with sparse tensors.

Any resharing and feedback are appreciated :slight_smile: