Table Of Contents
Table Of Contents

set_recording

mxnet.autograd.set_recording(is_recording)[source]

Set status to recording/not recording. When recording, graph will be constructed for gradient computation.

Parameters:is_recording (bool) –
Returns:
Return type:previous state before this set.