xref: /aosp_15_r20/external/pytorch/torch/csrc/jit/passes/frozen_concat_linear.h (revision da0073e96a02ea20f0ac840b70461e3646d07c45)
1 #pragma once
2 
3 #include <torch/csrc/jit/ir/ir.h>
4 
5 namespace torch::jit {
6 
7 // Concats multiple linear ops with the same Tensor input
8 // into a single linear op.
9 TORCH_API bool FrozenConcatLinear(std::shared_ptr<Graph>& graph);
10 
11 } // namespace torch::jit
12