Open gipster opened 4 years ago
At the moment the IntegratedGradients class only supports tf.keras and keras models taking numpy arrays as inputs and in which the input layer is a standard keras input layer such as tf.keras.Input or tf.keras.layers.InputLayer.
IntegratedGradients
tf.keras.Input
tf.keras.layers.InputLayer
Investigation is ongoing to see whether it is possible to extend the method to models with custom input layers taking other types of inputs such as dictionaries.
Related issue
Hey, what about multiple inputs to the model? I saw implantation for this but it doesn't support TF2. https://github.com/hiranumn/IntegratedGradients
At the moment the
IntegratedGradients
class only supports tf.keras and keras models taking numpy arrays as inputs and in which the input layer is a standard keras input layer such astf.keras.Input
ortf.keras.layers.InputLayer
.Investigation is ongoing to see whether it is possible to extend the method to models with custom input layers taking other types of inputs such as dictionaries.
Related issue