Searched refs:call_argspec (Results 1 – 2 of 2) sorted by relevance
324 call_argspec = tf_inspect.getfullargspec(self.call)325 if 'training' in call_argspec.args:329 self._call_convention = self._determine_call_convention(call_argspec)340 def _determine_call_convention(self, call_argspec): argument342 if call_argspec.varargs:360 all_positional_args = len(call_argspec.args)361 if call_argspec.defaults is not None:362 all_positional_args -= len(call_argspec.defaults)364 for positional_arg_name in call_argspec.args[:all_positional_args]:368 if 'inputs' in call_argspec.args[all_positional_args:]:[all …]
195 call_argspec = tf_inspect.getfullargspec(self.call)196 if 'training' in call_argspec.args: