Commit 910743cd authored by Jaikrishnan Menon's avatar Jaikrishnan Menon

Merge branch 'master' into cpu_layout2

parents 2d5a886d 9a7ddbc0
This diff is collapsed.
...@@ -201,6 +201,10 @@ op::AvgPool::AvgPool(const std::shared_ptr<Node>& arg, const Shape& window_shape ...@@ -201,6 +201,10 @@ op::AvgPool::AvgPool(const std::shared_ptr<Node>& arg, const Shape& window_shape
bool op::AvgPool::is_functionally_identical(const Node& other) const bool op::AvgPool::is_functionally_identical(const Node& other) const
{ {
// TODO: temporary workaround for MKLDNN issue
// remove 'return false' and uncomment below when fixed
return false;
/*
bool rc = true; bool rc = true;
if (Node::is_functionally_identical(other)) if (Node::is_functionally_identical(other))
{ {
...@@ -215,6 +219,7 @@ bool op::AvgPool::is_functionally_identical(const Node& other) const ...@@ -215,6 +219,7 @@ bool op::AvgPool::is_functionally_identical(const Node& other) const
rc = false; rc = false;
} }
return rc; return rc;
*/
} }
op::AvgPoolBprop::AvgPoolBprop(const std::shared_ptr<Node>& arg, op::AvgPoolBprop::AvgPoolBprop(const std::shared_ptr<Node>& arg,
......
...@@ -371,6 +371,10 @@ std::shared_ptr<Node> ...@@ -371,6 +371,10 @@ std::shared_ptr<Node>
bool op::Convolution::is_functionally_identical(const Node& other) const bool op::Convolution::is_functionally_identical(const Node& other) const
{ {
// TODO: temporary workaround for MKLDNN issue
// remove 'return false' and uncomment below when fixed
return false;
/*
bool rc = true; bool rc = true;
if (Node::test_identical(other)) if (Node::test_identical(other))
{ {
...@@ -386,6 +390,7 @@ bool op::Convolution::is_functionally_identical(const Node& other) const ...@@ -386,6 +390,7 @@ bool op::Convolution::is_functionally_identical(const Node& other) const
rc = false; rc = false;
} }
return rc; return rc;
*/
} }
void op::Convolution::generate_adjoints(autodiff::Adjoints& adjoints, void op::Convolution::generate_adjoints(autodiff::Adjoints& adjoints,
......
...@@ -159,6 +159,10 @@ op::MaxPool::MaxPool(const std::shared_ptr<Node>& arg, const Shape& window_shape ...@@ -159,6 +159,10 @@ op::MaxPool::MaxPool(const std::shared_ptr<Node>& arg, const Shape& window_shape
bool op::MaxPool::is_functionally_identical(const Node& other) const bool op::MaxPool::is_functionally_identical(const Node& other) const
{ {
// TODO: temporary workaround for MKLDNN issue
// remove 'return false' and uncomment below when fixed
return false;
/*
bool rc = true; bool rc = true;
if (Node::test_identical(other)) if (Node::test_identical(other))
{ {
...@@ -171,6 +175,7 @@ bool op::MaxPool::is_functionally_identical(const Node& other) const ...@@ -171,6 +175,7 @@ bool op::MaxPool::is_functionally_identical(const Node& other) const
rc = false; rc = false;
} }
return rc; return rc;
*/
} }
void op::MaxPool::generate_adjoints(autodiff::Adjoints& adjoints, void op::MaxPool::generate_adjoints(autodiff::Adjoints& adjoints,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment