def setUp(self):
    super(PruningHParamsTest, self).setUp()
    self.global_step = training_util.get_or_create_global_step()
    self.sparsity = variables.VariableV1(0.5, name='sparsity')
    self.pruning_hparams = pruning.get_pruning_hparams().parse(self.TEST_HPARAMS)
def setUp(self):
    super(PruningHParamsTest, self).setUp()
    self.global_step = training_util.get_or_create_global_step()
    self.sparsity = variables.VariableV1(0.5, name='sparsity')
    self.pruning_hparams = pruning.get_pruning_hparams().parse(self.TEST_HPARAMS)