Remove mutable default parameter in init_inference() (#2540)
A mutable default value is dangerous because editing it will change the
value for all future calls to the function. The value is itself edited
later in the function, so this problem will likely be encountered sooner
or later.
Co-authored-by: NMichael Wyatt <michaelwyatt@microsoft.com>
Showing
想要评论请 注册 或 登录