def get_initializers(self):
     initial_gamma = [
         initializers.Constant(2), 2,
         testing.InitializerArgument(None, 1)
     ]
     initial_beta = [
         initializers.Constant(2), 2,
         testing.InitializerArgument(None, 0)
     ]
     return initial_gamma, initial_beta
Esempio n. 2
0
 def get_initializers(self):
     return [
         initializers.Constant(0), 2,
         testing.InitializerArgument(None, initializers.Constant(1))
     ],