示例#1
0
 def construct(self, x):
     tril = nn.Tril()
     return tril(x, 1)
示例#2
0
 def construct(self):
     tril = nn.Tril()
     return tril(self.value, -1)