xref: /aosp_15_r20/external/pytorch/torch/csrc/jit/ir/node_hashing.h (revision da0073e96a02ea20f0ac840b70461e3646d07c45)
1 #pragma once
2 
3 #include <torch/csrc/jit/ir/ir.h>
4 
5 namespace torch::jit {
6 
7 struct TORCH_API HashNode {
8   size_t operator()(const Node* k) const;
9 };
10 
11 struct TORCH_API EqualNode {
12   bool operator()(const Node* lhs, const Node* rhs) const;
13 };
14 
15 } // namespace torch::jit
16