Skip to content

Commit 6fdb4b1

Browse files
authored
fix: Gumbel-Softmax notebook optimizers update
1 parent e2f4159 commit 6fdb4b1

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

examples/regular/gumbel_softmax_example.ipynb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,8 @@
147147
" This makes it equivalent to the previous implementation.\n",
148148
" The source code will help you understanding how it works\"\"\"\n",
149149
" def define_gan(self, activation_info = None):\n",
150-
" super().define_gan(activation_info=None)"
150+
" optimizers = super().define_gan(activation_info=None)\n",
151+
" return optimizers"
151152
]
152153
},
153154
{
@@ -2166,7 +2167,7 @@
21662167
"name": "python",
21672168
"nbconvert_exporter": "python",
21682169
"pygments_lexer": "ipython3",
2169-
"version": "3.8.11"
2170+
"version": "3.8.13"
21702171
},
21712172
"orig_nbformat": 4
21722173
},

0 commit comments

Comments
 (0)