ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more

tf.contrib.model_pruning.get_weight_sparsity

View source on GitHub

Get sparsity of the weights.

None

A list containing the sparsity of each of the weight tensors