class_docstr: Pruning schedule with constant sparsity(%) throughout training.
class_docstr_tok: ["Pruning","schedule","with","constant","sparsity","(","%",")","throughout","training","."]
code: def __call__(self, step):
      return (
          self._should_prune_in_step(
              step, self.begin_step, self.end_step, self.frequency
          ),
          tf.constant(self.target_sparsity, dtype=tf.float32),
      )
  
imports: import abc
  import six
  import tensorflow
label_desc: Use image node_id 2 for calling the ConstantSparsity obj's underlying member method code with example usage: obj.__call__(step) and returns: self,  tf