Skip to content
Snippets Groups Projects
Commit 9f7f6b14 authored by Neta Zmora's avatar Neta Zmora
Browse files

Remove confusing log message

As noted in issue #382, logging when a parameter does not have
a mask is unnecessary and may confuse users.  Therefore, it is
removed.
parent bdab1fa5
No related branches found
No related tags found
No related merge requests found
...@@ -245,7 +245,6 @@ class ParameterMasker(object): ...@@ -245,7 +245,6 @@ class ParameterMasker(object):
def apply_mask(self, parameter): def apply_mask(self, parameter):
"""Apply a mask on the weights tensor (parameter).""" """Apply a mask on the weights tensor (parameter)."""
if self.mask is None: if self.mask is None:
msglogger.debug('No mask for parameter {0}'.format(self.param_name))
return return
if self.use_double_copies: if self.use_double_copies:
self.unmasked_copy = parameter.clone().detach() self.unmasked_copy = parameter.clone().detach()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment