#pragma once #include namespace torch::jit { // This function replaces instances of // // %b = aten::alias(%a) // %c = foo(%b) // // with // // %c = foo(%a) // // on the module forward, if it's safe to do so. TORCH_API Module DBRQuantRemoveRedundantAliases(Module& module); } // namespace torch::jit