LazyIr.h 575 B

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