parameters: (argspec, args, kwargs)
return_statement: return 'training' in full_args and full_args['training'] is not None
docstring: Returns whether a user passed the `training` argument in `__call__`.
docstring_summary: Returns whether a user passed the `training` argument in `__call__`.
docstring_tokens: Returns whether a user passed the training argument in __call__ .
function: def training_arg_passed_to_call(argspec, args, kwargs):
    """Returns whether a user passed the `training` argument in `__call__`."""
    # `argspec.args` starts with ['self', 'inputs']
    full_args = dict(zip(argspec.args[2:], args))
    full_args.update(kwargs)
    return 'training' in full_args and full_args['training'] is not None
function_tokens: def training_arg_passed_to_call ( argspec , args , kwargs ) : # `argspec.args` starts with ['self', 'inputs'] full_args = dict ( zip ( argspec . args [ 2 : ] , args ) ) full_args . update ( kwargs ) return 'training' in full_args and full_args [ 'training' ] is not None