(context)
Conditions `Synthesizer` calls within the scope on the given `context`.

    All `Synthesizer.forward` calls within the scope will receive `context`
    as an argument.

    Scopes of this context manager can be nested.
Conditions `Synthesizer` calls within the scope on the given `context`.
Conditions Synthesizer calls within the scope on the given context .
def synthesizer_context(context):
    """Conditions `Synthesizer` calls within the scope on the given `context`.

    All `Synthesizer.forward` calls within the scope will receive `context`
    as an argument.

    Scopes of this context manager can be nested.
    """
    _Manager.context_stack.append(context)
    yield
    _Manager.context_stack.pop()
def synthesizer_context ( context ) : _Manager . context_stack . append ( context ) yield _Manager . context_stack . pop ( )