xref: /aosp_15_r20/external/pytorch/aten/src/ATen/templates/LazyIr.h (revision da0073e96a02ea20f0ac840b70461e3646d07c45)
1 #pragma once
2 
3 // This file contains autogenerated LazyTensor IR nodes
4 ${lazy_ir_sysinc}
5 ${lazy_ir_inc}
6 
7 ${namespace_prologue}
8 using at::operator<<;
9 
10 // kNullValue is used to contribute a static hash value any time
11 // a node has an Optional<Value> input that is nullopt.  It is important
12 // to differentiate between HASH(std::nullopt, something) and HASH(something, std::nullopt),
13 // and using kNullValue in the hash function in the order of arguments
14 // serves this purpose.
15 static const torch::lazy::Value kNullValue = torch::lazy::Value();
16 
17 ${ir_declarations}
18 
19 ${namespace_epilogue}
20