def trace_with_training(value, fn=fn): utils.set_training_arg(value, self._training_arg_index, args, kwargs) add_trace_to_queue(fn, args, kwargs, value)
def trace_with_training(value, fn=fn): utils.set_training_arg(value, self._training_arg_index, args, kwargs) with K.deprecated_internal_learning_phase_scope(value): fn.get_concrete_function(*args, **kwargs)