def METHOD_NAME(self, variable, args):
    del args
    # Swaps out positive variables for unconstrained variables.
    if variable in self._variables:
        return self._variables[variable], []
    else:
        log_variable =  Variable(variable.shape, var_id=variable.id)
        self._variables[variable] = log_variable
        return log_variable, []