1 #pragma once 2 3 #include <torch/csrc/jit/ir/ir.h> 4 5 namespace torch::jit { 6 7 // Transposes the weight matrix for frozen linear modules. 8 // and converts it into a matmul 9 TORCH_API bool FrozenLinearTranspose(std::shared_ptr<Graph>& graph); 10 11 } // namespace torch::jit 12