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