mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Follows #132604 Pull Request resolved: https://github.com/pytorch/pytorch/pull/132753 Approved by: https://github.com/Skylion007
12 lines
261 B
C++
12 lines
261 B
C++
#pragma once
|
|
|
|
#include <torch/csrc/jit/ir/ir.h>
|
|
|
|
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>& graph);
|
|
|
|
} // namespace torch::jit
|