Exemplo n.º 1
0
 def unflatten(self, x):
     return special.from_onehot(x)
Exemplo n.º 2
0
 def unflatten(self, x):
     if config.TF_NN_SETTRACE:
         ipdb.set_trace()
     return special.from_onehot(x)
Exemplo n.º 3
0
 def unflatten(self, x):
     return special.from_onehot(x)
Exemplo n.º 4
0
 def unflatten(self, x):
     if np.isscalar(x):
         return x
     else:
         return special.from_onehot(x)