pytorch/torch/csrc/jit/runtime/static/fusion.h
Nikita Shulga ad8aef0f98 [BE] [3/N] Use nested namespaces (#110314)
Mostly in torch/csrc/jit/runtime and in `ATen/cuda/`

Pull Request resolved: https://github.com/pytorch/pytorch/pull/110314
Approved by: https://github.com/seemethere
2023-09-30 02:23:48 +00:00

16 lines
307 B
C++

#pragma once
#include <torch/csrc/jit/ir/ir.h>
namespace torch::jit {
TORCH_API void fuseStaticSubgraphs(
std::shared_ptr<Graph> graph,
size_t min_size);
TORCH_API void performTensorExprFusion(
std::shared_ptr<Graph> graph,
std::vector<IValue> sample_inputs);
} // namespace torch::jit