https://github.com/Microsoft/CNTK
Revision 8c0b71b69b0150a8045636a21cb27d821263edf0 authored by Yang Chen on 26 July 2018, 16:58:57 UTC, committed by Yang Chen on 26 July 2018, 16:58:57 UTC
Variable:Owner() returns a NULL pointer if the variable is not of
Output kind. Some ops such as combine may have output variables
of Constant kind. We would get segfaults if we don't check the kind
of the output variable.
1 parent 372aea5
History
Tip revision: 8c0b71b69b0150a8045636a21cb27d821263edf0 authored by Yang Chen on 26 July 2018, 16:58:57 UTC
Check IsOutput() before invoking Owner()->IsBlock()
Tip revision: 8c0b71b

back to top