)]}'
{
  "commit": "accd52feef29d40da9f1c4d9503806a1f34c07fc",
  "tree": "f4440907173ad40211e453e455be65360769ccdd",
  "parents": [
    "eb730f83215e52b87c6e04793fffea6518833b91"
  ],
  "author": {
    "name": "Edward Z. Yang",
    "email": "ezyang@fb.com",
    "time": "Fri Aug 04 08:24:16 2017 -0700"
  },
  "committer": {
    "name": "Soumith Chintala",
    "email": "soumith@gmail.com",
    "time": "Tue Sep 05 17:48:55 2017 -0400"
  },
  "message": "Print types, and improvements to type APIs.\n\nFixes #48.\n\nI had to shave some yaks:\n\n- I needed switch on Type, so I wrote a new macro set TYPE_IF,\n  and abstracted the IR_IF into a GENERIC_IF.  The parametrization\n  is on const-ness and the type kind; also there is a minor annoyance\n  where type kinds (ugh, hate the name; it means the wrong thing\n  in Haskell land) don\u0027t match the class names, so there needs some\n  suffix munging.  There\u0027s still some extra funny business, see\n  https://github.com/ezyang/pytorch/issues/51\n\n- A lot of functions on types weren\u0027t declared const when they could\n  have been.  I added const qualifiers as necessary.\n\n- setType now takes an honest to goodness Type* rather than TypeKind.\n\n- init_pass now preserves types when it does transformations.\n\nThere are still some places we\u0027re losing types, most notably fusion.\n\nSigned-off-by: Edward Z. Yang \u003cezyang@fb.com\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "dda152171ab56b5d1e9bdd57e3fd1c4716c9346d",
      "old_mode": 33188,
      "old_path": "test/expect/TestJit.test_alexnet.expect",
      "new_id": "25b4e25b892c0804d6c18c57973af799af3210d6",
      "new_mode": 33188,
      "new_path": "test/expect/TestJit.test_alexnet.expect"
    },
    {
      "type": "modify",
      "old_id": "f3bb2aef10045cd1a6d6555d506e478bee4f6e25",
      "old_mode": 33188,
      "old_path": "test/expect/TestJit.test_c_function.expect",
      "new_id": "5afae7408579d65de325ce16e273f5283b7685fb",
      "new_mode": 33188,
      "new_path": "test/expect/TestJit.test_c_function.expect"
    },
    {
      "type": "modify",
      "old_id": "617b5d3fb1a10ad23f4cef583058dd9f2c881e23",
      "old_mode": 33188,
      "old_path": "test/expect/TestJit.test_inplace_transplant.expect",
      "new_id": "0bcc3aab8506b7df318bec85ff13748cc46a053b",
      "new_mode": 33188,
      "new_path": "test/expect/TestJit.test_inplace_transplant.expect"
    },
    {
      "type": "modify",
      "old_id": "1f8928ccbd4b72dbc94bb55feece3436264f405c",
      "old_mode": 33188,
      "old_path": "test/expect/TestJit.test_lstm.expect",
      "new_id": "0e62715a412994a2c9f14a022f183b5d40299bc4",
      "new_mode": 33188,
      "new_path": "test/expect/TestJit.test_lstm.expect"
    },
    {
      "type": "modify",
      "old_id": "5b532e1cda427560ee19a29cd4333735e143df62",
      "old_mode": 33188,
      "old_path": "test/expect/TestJit.test_simple.expect",
      "new_id": "dce75d6d046246c3addc9671ab0bc4c4e1e84553",
      "new_mode": 33188,
      "new_path": "test/expect/TestJit.test_simple.expect"
    },
    {
      "type": "modify",
      "old_id": "0353fc1fd1a237adf189a2cda3cf29cf9982f4d1",
      "old_mode": 33188,
      "old_path": "torch/csrc/jit/init_pass.cpp",
      "new_id": "eb24d3612a98a4a919576cd6c53735791369cdb2",
      "new_mode": 33188,
      "new_path": "torch/csrc/jit/init_pass.cpp"
    },
    {
      "type": "modify",
      "old_id": "533f41d00d4643d699afde6fb98fc2aa77a68114",
      "old_mode": 33188,
      "old_path": "torch/csrc/jit/ir.cpp",
      "new_id": "d6149d02ad1cbfe80d9eed9a6579227abd0984d8",
      "new_mode": 33188,
      "new_path": "torch/csrc/jit/ir.cpp"
    },
    {
      "type": "modify",
      "old_id": "3dfb2647c7d9be26771043ffd350894cba304dbb",
      "old_mode": 33188,
      "old_path": "torch/csrc/jit/ir.h",
      "new_id": "de3be39c20c2dcd0e1364795a9adfec3f0be2c9c",
      "new_mode": 33188,
      "new_path": "torch/csrc/jit/ir.h"
    },
    {
      "type": "modify",
      "old_id": "31c1071bc42488f68cc1801e82260ce7075be811",
      "old_mode": 33188,
      "old_path": "torch/csrc/jit/tracer.h",
      "new_id": "6b6f40d5529c6393082731bc3132094491ed7368",
      "new_mode": 33188,
      "new_path": "torch/csrc/jit/tracer.h"
    }
  ]
}
