EnergyFlow icon indicating copy to clipboard operation
EnergyFlow copied to clipboard

TensorFlow module error causes tests to fail

Open j-s-ashley opened this issue 7 months ago • 1 comments

Lines 126 and 149 of the test_archs.py file are causing CI to fail with the following error:

'keras._tf_keras.keras.backend' has no attribute 'function'

The lines in the test file

126 kf = K.function(inputs=efn.inputs, outputs=efn.latent)

149 kf = K.function(inputs=pfn.inputs, outputs=pfn.latent)

refer to the import from line 9: from tensorflow.keras import backend as K

j-s-ashley avatar Jul 09 '24 13:07 j-s-ashley