Created
May 8, 2024 07:57
-
-
Save pashu123/039f4886a23ff7311f38e44203013279 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func.func @torch_add(%arg0: !torch.vtensor<[1,1,?,?],i1>, %arg1: !torch.vtensor<[4,1,1,?],i1>) -> !torch.vtensor<[4, 1, ?, ?],i1> { | |
%int1 = torch.constant.int 1 | |
%2 = torch.aten.add.Tensor %arg0, %arg1, %int1 : !torch.vtensor<[1,1,?,?],i1>, !torch.vtensor<[4,1,1,?],i1>, !torch.int -> !torch.vtensor<[4,1,?,?],i1> | |
return %2 : !torch.vtensor<[4,1,?,?],i1> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment