def every_n_step_begin(self, step):
    super(LoggingTrainable, self).every_n_step_begin(step)
    trainables = ops.get_collection(ops.GraphKeys.TRAINABLE_VARIABLES, scope=self._scope)
    self._names = {}
    for var in trainables:
        self._names[var.name] = var.value().name
    return list(self._names.values())
def every_n_step_begin(self, step):
    super(LoggingTrainable, self).every_n_step_begin(step)
    trainables = ops.get_collection(ops.GraphKeys.TRAINABLE_VARIABLES, scope=self._scope)
    self._names = {}
    for var in trainables:
        self._names[var.name] = var.value().name
    return list(self._names.values())