Searched refs:accept_all (Results 1 – 2 of 2) sorted by relevance
/external/tensorflow/tensorflow/python/keras/utils/ |
D | generic_utils_test.py | 51 f_x, 'x', accept_all=False)) 53 f_x, 'y', accept_all=False)) 55 f_x_args, 'x', accept_all=False)) 57 f_x_args, 'y', accept_all=False)) 59 f_x_kwargs, 'x', accept_all=False)) 61 f_x_kwargs, 'y', accept_all=False)) 63 f_x_kwargs, 'y', accept_all=True)) 65 keras.utils.generic_utils.has_arg(partial_f, 'c', accept_all=True))
|
D | generic_utils.py | 747 def has_arg(fn, name, accept_all=False): argument 760 if accept_all and arg_spec.varkw is not None:
|