TensorFlow 2.0 Beta is available Learn more

tf.contrib.model_pruning.get_weights

View source on GitHub
tf.contrib.model_pruning.get_weights()