def set_checked_mode(enable): ''' Checked mode enables additional runtime verification such as: - Tracking NaN occurences in sequence gaps. - Function graph verification after binding of free static axes to actual values at runtime Enabling checked mode incurs additional runtime costs and is meant to be used as a debugging aid. Args: enable (bool): whether to enable checked mode (with performance impact) ''' cntk_py.set_checked_mode(enable)