TensorRT icon indicating copy to clipboard operation
TensorRT copied to clipboard

`aten.empty_strided`

Open chohk88 opened this issue 1 year ago • 1 comments

Implement aten.empty_strided converter

https://pytorch.org/docs/stable/generated/torch.empty_strided.html#torch-empty-strided

chohk88 avatar Apr 17 '24 07:04 chohk88

aten.empty_strided creates an uninitialized tensor, where memory space is allocated but the values in that space are not explicitly set. This means the tensor is filled with arbitrary values that already exist in memory. An example of its behavior is provided below:

image

Similarly to issue, operations seems to be unfeasible to implement.

How should we proceed with the development of a converter for this operation? @narendasan @gs-olive

chohk88 avatar Apr 17 '24 08:04 chohk88