File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change 268
268
"source" : [
269
269
" x = tf.ones((2, 2))\n " ,
270
270
" \n " ,
271
- " # TODO(b/78880779): Remove the 'persistent=True' argument and use\n " ,
272
271
" # a single t.gradient() call when the bug is resolved.\n " ,
273
272
" with tf.GradientTape(persistent=True) as t:\n " ,
274
- " # TODO(ashankar): Explain with \" watch\" argument better?\n " ,
275
273
" t.watch(x)\n " ,
276
274
" y = tf.reduce_sum(x)\n " ,
277
275
" z = tf.multiply(y, y)\n " ,
315
313
},
316
314
"outputs" : [],
317
315
"source" : [
318
- " # TODO(ashankar): Should we use the persistent tape here instead? Follow up on Tom and Alex's discussion\n " ,
319
- " \n " ,
320
316
" x = tf.constant(1.0) # Convert the Python 1.0 to a Tensor object\n " ,
321
317
" \n " ,
322
318
" with tf.GradientTape() as t:\n " ,
You can’t perform that action at this time.
0 commit comments