Skip to content

AttributeError: 'int' object has no attribute 'op' #14

@senjed

Description

@senjed

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions