Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def __init__(self, graph, session, y, x, conv_layer):
super(GradCam, self).__init__(graph, session, y, x)
self.conv_layer = conv_layer
self.gradients_node = tf.gradients(y, conv_layer)[0]