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
Raw File
Tip revision: 8c0b71b69b0150a8045636a21cb27d821263edf0 authored by Yang Chen on 26 July 2018, 16:58:57 UTC
Check IsOutput() before invoking Owner()->IsBlock()
Tip revision: 8c0b71b
CMakeLists.txt
cmake_minimum_required(VERSION 3.8)

project(CNTK)

include(Tools/cmake/options.cmake REQUIRED)
include(Tools/cmake/common.cmake REQUIRED)
include(Tools/cmake/cntk_common.cmake REQUIRED)

add_subdirectory(bindings/csharp/swig)

include(Tools/cmake/debug.cmake REQUIRED)
back to top