Ok, that’s meant by “statically inferred”. Coming from the C++ side, I would have expected some counterpart of C++
result[4] = {val}
retval = tuple(result)

like
result:List[Tensor,4] = val * 4
Thank you for your help