示例#1
0
文件: layers.py 项目: linklab/aiclass
 def forward(self, u_value):
     self.u_value = u_value
     self.out = tff.sigmoid(u_value)
     return self.out
示例#2
0
 def forward(self, u_value):
     self.inputs = [u_value]
     self.out = tff.sigmoid(u_value)
     return self.out
示例#3
0
文件: layers.py 项目: linklab/aiclass
 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
示例#4
0
文件: layers.py 项目: linklab/aiclass
 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