pytorch/test/cpp
Mikhail Zolotukhin 76e2ffc877 Remove 'recurse' parameter from Inline. (#26487)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/26487

The way it is implemented currently is bad because while we're inlining
to a graph G, we are also mutating all the graphs that are being
inlined. The problem is that the graphs we're inlining are usually the
original graphs of functions, so we're silently changing them behind the
scenes, and we don't have a way to recover 'unoptimized' graphs
afterwards.

Test Plan: Imported from OSS

Differential Revision: D17485748

Pulled By: ZolotukhinM

fbshipit-source-id: 6094ef56077240e9379d4c53680867df1b6e79ef
2019-09-24 00:22:18 -07:00
..
api C++ API parity: at::Tensor::detach 2019-09-22 06:10:48 -07:00
common
dist_autograd Attach 'send' autograd function to the autograd graph as part of RPC. (#24876) 2019-09-01 23:54:01 -07:00
jit Remove 'recurse' parameter from Inline. (#26487) 2019-09-24 00:22:18 -07:00
__init__.py