[Torch] Reduce testing time of LSTM tests (#8583)
[Torch] Reduce testing time of LSTM tests (#8583)

* reduce testing time

* lint issues were resolved. weights for test are always randomly generated

Co-authored-by: Valery Chernov <50ddfba37a1838e5b37af7e209dddcf180bf9c94@deelvin.com>
Laurawly/tvm-1,dmlc/tvm,Laurawly/tvm-1,dmlc/tvm,Laurawly/tvm-1,dmlc/tvm,Laurawly/tvm-1,Laurawly/tvm-1,dmlc/tvm,Laurawly/tvm-1,dmlc/tvm,Laurawly/tvm-1,dmlc/tvm,dmlc/tvm,Laurawly/tvm-1,Laurawly/tvm-1,dmlc/tvm,dmlc/tvm,Laurawly/tvm-1