Open KalaivaniMCW opened 1 month ago
Adding some examples regarding [ ], below shapes are taken from ttnn.add sweep for pytorch2 When tested in torch , Torch: {'input_shape': {'self': [], 'other': [0, 1]},
Torch: {'input_shape': {'self': [], 'other': [1, 1, 768]}
Adding some examples regarding [ ], below shapes are taken from ttnn.divide sweep for pytorch2 : https://github.com/tenstorrent/tt-metal/issues/14733 When tested in torch ,
Requirements from pytorch tracing sweeps https://github.com/tenstorrent/pytorch2.0_ttnn/blob/main/docs/operations/aten.add.Tensor.md
Case 1: when input parameters are such :
The tensor
other
is expected to be created as a 0-dim tensor with value 1.0Case 2: when input parameters are such :
The tensor
self
is expected to be created as a 0-dim tensor The tensorother
is expected to be created as a 0-dim tensor with value 1.0Case:3 Empty Tensor or elements [0,1]