[quote="hcho3, post:11, topic:4341"]
Your post saved lots of time for m
[/quote]
@hcho3
I compiled LLVM from the github and lld-link.exe was produced.But I still have
an error running the code:
```
RuntimeError: Can not find cl.exe,please run this in Vistual Studio Command
Prompt
```
I also us
My model is seq2seq. I also find the code for random_uniform is working fine,
the error caused by loop control flow.
error info: shape mismatch
```
..
%1817 = add(%35, %1816);
%1818 = reshape(%1817, newshape(-1,[28500]))
%1819 = topk(%1818, k=3, dtype='int32')
%1820 = %1819.1
%1821 = cast(
I didn't quite catch your meaning...We only need to make sure that the input
and output of random_unifrorm op are correct. If random_unifrorm op is ok, we
check again why did the model output changed
---
[Visit
Topic](https://discuss.tvm.ai/t/support-for-tensorflow-ops-for-newer-tf-versi
There is something wrong with my code. for example, When 'RandomUniform' is in
a loop, the shape keeps changing. If your shape of 'RandomUniform' doesn't
changeļ¼ you can print shape or inputs[0] on _random_uniform.
If there is any discovery, welcome timely feedback.
---
[Visit
Topi
@kevinthesun
My code has been updated recently, but still error:
```
tvm/src/relay/op/tensor/transform.cc: Check failed: begin_v < end_v (0 vs 0)
:stride_slice get empty slice at axis 1
begin = [0,0]
end = [15,0]
```
When have an 'end_v < begin_v error' , it still seems to throw an error inste
@kevinthesun As @lsy643 said, Can we adjust the code so `strided_slice` will
return an empty array instead of raising an error?
Such as when 'begin > end' or 'end == 0' or etc, we return an empty array or
'_expr.const([],dtype = dtype)'
---
[Visit
Topic](https://discuss.tvm.ai/t/can-s
There's another piece of information,an error occurred while obtaining the end
value:
```
def _stridedSlice():
end = _get_list_param(params, inputs[2])
error info:
has no attribute name_hint
```
So,I change the code:
```
try:
end = _get_list_param(params, inputs[2]
I have the same problem and add judgment:
```
if end == 0:
return _expr.const([],dtype = dtype)
```
A new error is encountered later, and I'm not sure if it's related to this
return value
---
[Visit
Topic](https://discuss.tvm.ai/t/can-slice-from-relay-support-empty-result/5889/2)
to r