Refactor attributes.h (#16098)
authorMikhail Zolotukhin <mvz@fb.com>
Fri, 18 Jan 2019 01:27:36 +0000 (17:27 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Fri, 18 Jan 2019 01:39:58 +0000 (17:39 -0800)
commit27674dc7c635d2d405684d86be802280c67c41d8
tree1426c35303e6e9511b2af56e4027634d7e96927d
parent40b3e4907c2b5b21da43de7b263952225a91644a
Refactor attributes.h (#16098)

Summary:
This PR inlines `Attributes` into `Node`. It helps to cleanup the code a little as everything is one place (some of the cleanups are included in the PR).
Pull Request resolved: https://github.com/pytorch/pytorch/pull/16098

Differential Revision: D13717637

Pulled By: ZolotukhinM

fbshipit-source-id: c54ae65178a95a01354688921a9ccb1ca699f8eb
test/cpp/jit/tests.h
torch/csrc/jit/attributes.h
torch/csrc/jit/ir.cpp
torch/csrc/jit/ir.h
torch/csrc/jit/python_ir.cpp