예제 #1
0
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)
예제 #2
0
파일: debug.py 프로젝트: OlegBoulanov/CNTK
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)