Table Of Contents
Table Of Contents

ParameterDict.reset_ctx

ParameterDict.reset_ctx(ctx)[source]

Re-assign all Parameters to other contexts.

Parameters:ctx (Context or list of Context, default context.current_context().) – Assign Parameter to given context. If ctx is a list of Context, a copy will be made for each context.