5

How do you index a Python list in TensorFlow if the list's elements are functions?

I've read @soloice's answer at How to index a list with a Tensorflow tensor. However, it assumes that the list can be converted into a tensor.

If I have a list L of functions, indexing methods like tf.gather(L,index) don't work because L cannot be converted into a tensor.

Phil Dukhov
  • 67,741
  • 15
  • 184
  • 220
NTruth
  • 51
  • 3

0 Answers0