20 lines
575 B
C
20 lines
575 B
C
#pragma once
|
|
|
|
// This file contains autogenerated LazyTensor IR nodes
|
|
${lazy_ir_sysinc}
|
|
${lazy_ir_inc}
|
|
|
|
${namespace_prologue}
|
|
using at::operator<<;
|
|
|
|
// kNullValue is used to contribute a static hash value any time
|
|
// a node has an Optional<Value> input that is nullopt. It is important
|
|
// to differentiate between HASH(nullopt, something) and HASH(something, nullopt),
|
|
// and using kNullValue in the hash function in the order of arguments
|
|
// serves this purpose.
|
|
static const torch::lazy::Value kNullValue = torch::lazy::Value();
|
|
|
|
${ir_declarations}
|
|
|
|
${namespace_epilogue}
|