Minor changes to function arguments

This commit is contained in:
Christopher Choquette Choo 2019-06-19 11:18:42 -04:00
parent b120d9c5d8
commit 3080b654b5
2 changed files with 5 additions and 5 deletions

View file

@ -60,7 +60,7 @@ class BoltonModel(Model):
self._layers_instantiated = False self._layers_instantiated = False
self._dtype = dtype self._dtype = dtype
def call(self, inputs, training=False): # pylint: disable=arguments-differ def call(self, inputs): # pylint: disable=arguments-differ
"""Forward pass of network """Forward pass of network
Args: Args:

View file

@ -321,7 +321,7 @@
" kernel_regularizer=reg_layer\n", " kernel_regularizer=reg_layer\n",
" )\n", " )\n",
" \n", " \n",
" def call(self, inputs, training=False):\n", " def call(self, inputs):\n",
" return self.output_layer(inputs)\n", " return self.output_layer(inputs)\n",
"\n", "\n",
"optimizer = tf.optimizers.SGD()\n", "optimizer = tf.optimizers.SGD()\n",
@ -420,13 +420,13 @@
"pycharm": { "pycharm": {
"stem_cell": { "stem_cell": {
"cell_type": "raw", "cell_type": "raw",
"source": [],
"metadata": { "metadata": {
"collapsed": false "collapsed": false
}, }
"source": []
} }
} }
}, },
"nbformat": 4, "nbformat": 4,
"nbformat_minor": 1 "nbformat_minor": 1
} }