Function.sample_args_kwargs (function)


def sample_args_kwargs(self, size=None, seed={}, cache_sample=False)

Sample from Function.args and Function.kwargs

See also:

Arguments

  • size (int or tuple or None, optional, default=None): size/shape of the resulting array.
  • seed (dict, optional, default={}): seeds (as uniqueid: seed pairs) to pass to underlying distributions.
  • cache_sample (bool, optional, default=False): whether to override the existing Function.cached_sample.