Searched defs:NodeMatcher (Results 1 – 2 of 2) sorted by relevance
106 struct NodeMatcher : public ::testing::MatcherInterface<const Node*> { struct107 bool MatchAndExplain( in MatchAndExplain()223 void DescribeTo(::std::ostream* os) const override { in DescribeTo()299 bool MatchAndExplainInput(const Node* node, int input_idx, in MatchAndExplainInput()326 absl::optional<string> op;327 absl::optional<string> name;328 absl::optional<string> assigned_device;329 absl::optional<Tensor> constant_value;330 absl::optional<std::vector<::testing::Matcher<OutEdge>>> input_matchers;332 control_dep_set;[all …]
24 struct NodeMatcher { struct25 explicit NodeMatcher(Node* node) : node_(node) {} in NodeMatcher() function27 Node* node() const { return node_; } in node()28 const Operator* op() const { return node()->op(); } in op()52 struct ValueMatcher : public NodeMatcher { argument