Join TensorFlow at Google I/O, May 11-12 Register now

tf.contrib.model_pruning.apply_mask

View source on GitHub

Apply mask to a given weight tensor.

x Input weight tensor
scope The current variable scope. Defaults to "".

Tensor representing masked_weights