From 868933a467abf82d6b6673d1f1a73f87e0d6e280 Mon Sep 17 00:00:00 2001 From: Mikhail Zolotukhin Date: Sun, 21 Apr 2019 20:28:15 -0700 Subject: Fix clang-format. (#19550) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/19550 ghimport-source-id: 980d96762426d3e97c26839edbaf107a3fc18b2f Differential Revision: D15028055 Pulled By: ZolotukhinM fbshipit-source-id: a50a0aaa74d0f1b9249ad79ab80e4b7747c3bffc --- torch/csrc/jit/init.cpp | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/torch/csrc/jit/init.cpp b/torch/csrc/jit/init.cpp index 3ad5876d69..87014abf22 100644 --- a/torch/csrc/jit/init.cpp +++ b/torch/csrc/jit/init.cpp @@ -22,10 +22,10 @@ #include #include #include +#include #include #include #include -#include #include #include #include @@ -103,12 +103,13 @@ void initJITBindings(PyObject* module) { .def("_jit_pass_lower_all_tuples", LowerAllTuples) .def("_jit_pass_onnx_peephole", PeepholeOptimizeONNX) .def( - "_jit_pass_onnx_constant_fold", - [](std::shared_ptr& graph, - std::map& paramsDict) { - ConstantFoldONNX(graph->block(), paramsDict); // overload resolution - return paramsDict; - }, pybind11::return_value_policy::move) + "_jit_pass_onnx_constant_fold", + [](std::shared_ptr& graph, + std::map& paramsDict) { + ConstantFoldONNX(graph->block(), paramsDict); // overload resolution + return paramsDict; + }, + pybind11::return_value_policy::move) .def("_jit_pass_fuse", FuseGraph) .def( "_jit_pass_dce", -- cgit v1.2.3