From 979bdea49d50999a048e04bc1258962cebd9ee17 Mon Sep 17 00:00:00 2001 From: Bar <elhararb@gmail.com> Date: Thu, 14 Mar 2019 18:53:05 +0200 Subject: [PATCH] Remove non-utf8 characters from utils.py (#193) --- distiller/utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/distiller/utils.py b/distiller/utils.py index e2f624a..510a481 100755 --- a/distiller/utils.py +++ b/distiller/utils.py @@ -431,7 +431,7 @@ def activation_channels_means(activation): The activation usually has the shape: (batch_size, num_channels, h, w). "We first use global average pooling to convert the output of layer i, which is a - c x h x w tensor, into a 1 x c vector." + c x h x w tensor, into a 1 x c vector." Returns - for each channel: the batch-mean of its L1 magnitudes (i.e. over all of the activations in the mini-batch, compute the mean of the L1 magnitude of each channel). @@ -457,7 +457,7 @@ def activation_channels_apoz(activation): The activation usually has the shape: (batch_size, num_channels, h, w). "We first use global average pooling to convert the output of layer i, which is a - c x h x w tensor, into a 1 x c vector." + c x h x w tensor, into a 1 x c vector." Returns - for each channel: the batch-mean of its sparsity. """ -- GitLab