I tried to run the example you provided with iris dataset with keras. But I am getting AttributeError: 'int' object has no attribute 'op' error. My TensorFlow version is 2.2. The error is occurring in the below line:
#Build a computational graph that computes the tensors given inputs
self.get_gradients[c] = K.function(inputs=self.input_tensors, outputs=gradients)
I tried to run the example you provided with iris dataset with keras. But I am getting AttributeError: 'int' object has no attribute 'op' error. My TensorFlow version is 2.2. The error is occurring in the below line: