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