Fix incorrect condition to instantiate depthwise_ops introduced in commit 15d9f00fa. The change should have excluded depthwise_conv2d for doubles on windows debug builds, but it excluded it for all windows and all debug builds.

PiperOrigin-RevId: 157345929
This commit is contained in:
A. Unique TensorFlower 2017-05-28 09:36:01 -07:00 committed by TensorFlower Gardener
parent 409419bcce
commit 848123e61c

View File

@ -441,7 +441,7 @@ class DepthwiseConv2dNativeOp : public BinaryOp<T> {
DepthwiseConv2dNativeOp<CPUDevice, T>);
TF_CALL_float(REGISTER_CPU_KERNEL);
#if defined(PLATFORM_WINDOWS) && !defined(_DEBUG)
#if !defined(PLATFORM_WINDOWS) || !defined(_DEBUG)
TF_CALL_double(REGISTER_CPU_KERNEL);
#endif