• Z
    Added interface reset_grad_inplace_version (#37573) · dcb91fd7
    Zhanlue Yang 提交于
    reset_inplace_version removes all inplace related records to VarBase/VariableWrapper, the essential purpose of which is to let you use inplace operations as if using its non-inplaced version, which of course will cause unexpected consequences if not used with care.
    
    This is essentially a hack interface to satisfy one specific request
    dcb91fd7
imperative.cc 119.4 KB