-
Notifications
You must be signed in to change notification settings - Fork 3
Adding test to catch zero length subgraph bug #84
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Targets a bug that we've fixed.
accidentally removed and re-added @mbrookhart so his checkmark doesn't show up anymore. @ransford2011 or @louisfeng can you take a quick look? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks.
auto var_node = std::make_shared<VariableNode>(test_input, "test_input"); | ||
test_inputs.push_back(var_node); | ||
}; | ||
|
||
virtual void TearDown() {}; | ||
virtual void TearDown(){}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm surprised clang format removed a space in this case and kept a space in other cases.
@@ -35,8 +35,7 @@ class NGRAPH_NODE : public ::testing::Test { | |||
}; | |||
|
|||
class NGRAPH_GRAPH : public ::testing::Test { | |||
protected: | |||
|
|||
protected: | |||
static bool isop(NodePtr s) { return (s->type_ == NodeType::kOp); }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For example, here it didn't touch the space. Just wondering out loud.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:( Who knows.
some diff noise in test_ngraph.h from clang-format, the pertinent change is at line 66