[Relay][Frontend][TF] Fix slice when begin or size is not Const (#4372)
authorSiyuan Li <siyuanli.s.c@gmail.com>
Thu, 21 Nov 2019 18:53:37 +0000 (02:53 +0800)
committerYao Wang <kevinthesunwy@gmail.com>
Thu, 21 Nov 2019 18:53:37 +0000 (10:53 -0800)
commit0bbdad4bc5282da8f25e1ec23a397df826dc9cce
tree67e9e73109b375bf6bf38c1932b151356dc1a360
parent786d7998e1afe0a9d5a9e0091a4509afc748d798
[Relay][Frontend][TF] Fix slice when begin or size is not Const (#4372)

* fix slice bug when input is param

* use _infer_value rather than _infer_value_simulated
python/tvm/relay/frontend/tensorflow.py
tests/python/frontend/tensorflow/test_forward.py