This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //--------------------------------------------------- | |
| //setup | |
| var dModel = 256; //dimension of embedding | |
| var INPUTSIZE = 1024; //length of input | |
| var BLOCKS = 3; | |
| var LEARNING_RATE = 0.003; | |
| var OPTIMIZER = tf.train.adam(LEARNING_RATE, beta_1 = 0.85, beta_2 = 0.9, epsilon = 1e-9); | |
| var LOSS = 'categoricalCrossentropy'; | |
| var INITIALIZER = 'GlorotUniform'; |
OlderNewer