I notice using tf v1 compatibility. Perhaps it's better to decorate @tf.function in fx_fitness_eval and get rid of graph initialisation and the session. It is way more efficient to let tensorflow autograph and functions are way less expensive than sessions.
Best
Aymen
I notice using tf v1 compatibility. Perhaps it's better to decorate @tf.function in fx_fitness_eval and get rid of graph initialisation and the session. It is way more efficient to let tensorflow autograph and functions are way less expensive than sessions.
Best
Aymen