class_docstr: Helper base class for gluon blocks that must behave differently for ONNX export forward pass
class_docstr_tok: ["Helper","base","class","for","gluon","blocks","that","must","behave","differently","for","ONNX","export","forward","pass"]
code: def enable_onnx(self):
      self._onnx = True
  
imports: import inspect
  from typing import Any, Dict, Generator, Iterable, List, Tuple, Union
  from types import ModuleType
  import mxnet
  from mxnet import gluon, nd
  from mxnet.ndarray import NDArray
  import numpy
  from rl_coach.core_types import GradientClippingMethod
label_desc: Use image node_id 2 for calling the OnnxHandlerBlock obj's underlying member method code with example usage: obj.enable_onnx() without return types