tf.contrib.model_pruning.get_weight_sparsity()
Defined in tensorflow/contrib/model_pruning/python/pruning.py
.
Get sparsity of the weights.
Args:
None
Returns:
A list containing the sparsity of each of the weight tensors
tf.contrib.model_pruning.get_weight_sparsity()
Defined in tensorflow/contrib/model_pruning/python/pruning.py
.
Get sparsity of the weights.
None
A list containing the sparsity of each of the weight tensors