#pragma once #include namespace torch::jit { // Transposes the weight matrix for frozen linear modules. // and converts it into a matmul TORCH_API bool FrozenLinearTranspose(std::shared_ptr& graph); } // namespace torch::jit