tff.test.with_contexts

Stay organized with collections Save and categorize content based on your preferences.

Returns a decorator for parameterizing a test by tff.Contexts.

*named_contexts Named parameters used to construct the with_context decorator; either a single iterable, or a list of tuples or dicts.

ValueError If no named contexts are passed to the decorator.