parameters: (self, fn, override=None)
return_statement: return res
docstring: Filters `sk_params` and return those in `fn`'s arguments.
  
      Arguments:
          fn : arbitrary function
          override: dictionary, values to override sk_params
  
      Returns:
          res : dictionary dictionary containing variables
              in both sk_params and fn's arguments.
docstring_summary: Filters `sk_params` and return those in `fn`'s arguments.
docstring_tokens: Filters sk_params and return those in fn s arguments .
function: def filter_sk_params(self, fn, override=None):
      """Filters `sk_params` and return those in `fn`'s arguments.
  
      Arguments:
          fn : arbitrary function
          override: dictionary, values to override sk_params
  
      Returns:
          res : dictionary dictionary containing variables
              in both sk_params and fn's arguments.
      """
      override = override or {}
      res = {}
      fn_args = tf_inspect.getargspec(fn)[0]
      for name, value in self.sk_params.items():
        if name in fn_args:
          res.update({name: value})
      res.update(override)
      return res
function_tokens: def filter_sk_params ( self , fn , override = None ) : override = override or { } res = { } fn_args = tf_inspect . getargspec ( fn ) [ 0 ] for name , value in self . sk_params . items ( ) : if name in fn_args : res . update ( { name : value } ) res . update ( override ) return res