code: def testGenerateMbyNMask(self, weights, m_by_n, expected_mask):
      mask = pruning_utils.generate_m_by_n_mask(weights, m_by_n)
      self.assertAllEqual(mask, expected_mask)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  import tensorflow
  from tensorflow_model_optimization.python.core.keras import compat
  from tensorflow_model_optimization.python.core.sparsity.keras import pruning_utils
label_desc: Use image node_id 1 for calling the GenerateMbyNMaskTest obj's underlying member method code with example usage: obj.testGenerateMbyNMask(weights, m_by_n, expected_mask) without return types