chainer.is_debug

chainer.is_debug()[source]

Returns if the debug mode is enabled or not in the current thread.

Returns

True if the debug mode is enabled.

Return type

bool