Exemple #1
0
 def construct(self, x):
     triu = nn.Triu()
     return triu(x, 1)
Exemple #2
0
 def construct(self):
     triu = nn.Triu()
     return triu(self.value, -1)