Skip to content

Commit 84ec535

Browse files
Yinghai Lufacebook-github-bot
Yinghai Lu
authored andcommitted
Make HashNode visible (pytorch#34045)
Summary: HashNode and CompareNode are useful functions for hanlding jit::Node. This is to unblock pytorch/glow#4235. Pull Request resolved: pytorch#34045 Reviewed By: houseroad Differential Revision: D20184733 Pulled By: yinghai fbshipit-source-id: 6c829f2f111a490fd2d85017475c1731cd97fb20
1 parent ace2b4f commit 84ec535

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

torch/csrc/jit/ir/node_hashing.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
namespace torch {
66
namespace jit {
77

8-
struct HashNode {
8+
struct TORCH_API HashNode {
99
size_t operator()(const Node* k) const;
1010
};
1111

12-
struct EqualNode {
12+
struct TORCH_API EqualNode {
1313
bool operator()(const Node* lhs, const Node* rhs) const;
1414
};
1515

0 commit comments

Comments
 (0)