class_docstr: Matches patterns to apply transforms in a tf.keras model graph.
code: def _set_layer_names_and_weights(self, layer, names_and_weights):
      layer.set_weights([weight for _, weight in names_and_weights])
  
imports: import collections
  import copy
  import re
  import tensorflow
  from tensorflow_model_optimization.python.core.quantization.keras.graph_transformations import transforms
label_desc: Use image node_id 28 for calling the ModelTransformer obj's underlying member method code with example usage: obj._set_layer_names_and_weights(layer, names_and_weights) without return types