mirror of
https://github.com/zebrajr/tensorflow.git
synced 2025-12-07 12:20:24 +01:00
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:
parent
409419bcce
commit
848123e61c
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user