Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
NormanTUD committed Sep 26, 2024
1 parent 61466de commit 26f1f13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion explain.js
Original file line number Diff line number Diff line change
Expand Up @@ -3238,7 +3238,7 @@ async function grad_class_activation_map(model, x, class_idx, overlay_factor = 0
// Pool the gradient values within each filter of the last convolutional
// layer, resulting in a tensor of shape [numFilters].
const pooled_grad_values = tf_mean(grad_values, [0, 1, 2]);
// Scale the convlutional layer's output by the pooled gradients, using
// Scale the convolutional layer's output by the pooled gradients, using
// broadcasting.
const scaled_conv_output_values = tf_mul(last_conv_layer_output_values, pooled_grad_values);

Expand Down

0 comments on commit 26f1f13

Please sign in to comment.