Bug Fix : resolve cast error by adding cleaner type for MKL
This commit is contained in:
parent
bfafc1acef
commit
e5e81a3b52
@ -51,7 +51,7 @@ using mkldnn::stream;
|
|||||||
namespace tensorflow {
|
namespace tensorflow {
|
||||||
|
|
||||||
#ifdef ENABLE_MKLDNN_V1
|
#ifdef ENABLE_MKLDNN_V1
|
||||||
#define MKLDNN_SIZE_DTYPE long int
|
#define MKLDNN_SIZE_DTYPE memory::dim
|
||||||
#else
|
#else
|
||||||
#define MKLDNN_SIZE_DTYPE int
|
#define MKLDNN_SIZE_DTYPE int
|
||||||
#endif // ENABLE_MKLDNN_V1
|
#endif // ENABLE_MKLDNN_V1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user