[Relay][Training] Add gradient for cast (#3894)
author雾雨魔理沙 <lolisa@marisa.moe>
Sun, 8 Sep 2019 03:11:47 +0000 (20:11 -0700)
committerWuwei Lin <wuwei@apache.org>
Sun, 8 Sep 2019 03:11:47 +0000 (23:11 -0400)
commit6a377f77e8dac912ff220efeb26c28fa7e5a3f8f
treec12fd8866094f6c7e450128979d67ec40f88a680
parent184fa484caeb680b3b8107b7a7b1d27051f75391
[Relay][Training] Add gradient for cast (#3894)

save

fix

fix grad
python/tvm/relay/op/_tensor_grad.py
python/tvm/relay/op/_transform.py
python/tvm/relay/op/transform.py
src/relay/op/tensor/transform.cc
tests/python/relay/test_op_grad_level3.py