Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -904,8 +904,8 @@
" gradient_batch = one_batch(baseline, image, alpha_batch, target_class_idx)\n",
" gradient_batches.append(gradient_batch)\n",
" \n",
" # Stack path gradients together row-wise into single tensor.\n",
" total_gradients = tf.stack(gradient_batch)\n",
" # Concatenate path gradients together row-wise into single tensor.\n",
" total_gradients = tf.concat(gradient_batches, axis=0)\n",
"\n",
" # Integral approximation through averaging gradients.\n",
" avg_gradients = integral_approximation(gradients=total_gradients)\n",
Expand Down Expand Up @@ -1151,7 +1151,6 @@
"colab": {
"collapsed_sections": [],
"name": "integrated_gradients.ipynb",
"private_outputs": true,
"toc_visible": true
},
"kernelspec": {
Expand Down