Exemple #1
0
 def forward(self, u_value):
     self.u_value = u_value
     self.out = tff.sigmoid(u_value)
     return self.out
Exemple #2
0
 def forward(self, u_value):
     self.inputs = [u_value]
     self.out = tff.sigmoid(u_value)
     return self.out
Exemple #3
0
 def forward(self, u_value, is_numba):
     self.u_value = u_value
     self.out = tff.sigmoid(u_value, is_numba=is_numba)
     return self.out
Exemple #4
0
 def forward(self, u_value, is_train=True, is_numba=False):
     self.u_value = u_value
     self.out = tff.sigmoid(u_value, is_numba=is_numba)
     return self.out