Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

ctx.save_for_backward

"ctx" is a context object that can be used to stash information 
for backward computation. You can cache arbitrary objects for 
use in the backward pass using the "ctx.save_for_backward" method
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
7+4 =