class_docstr: Interface between a MXNet model and a Thinc Model. This container is
  *not* a Thinc Model subclass itself.
class_docstr_tok: ["Interface","between","a","MXNet","model","and","a","Thinc","Model",".","This","container","is","*","not","*","a","Thinc","Model","subclass","itself","."]
code: def copy(self, ctx: "mx.context.Context" = None):
      if ctx is None:
          ctx = mx.current_context()
      model_bytes = self.to_bytes()
      copied = copy.deepcopy(self)
      copied._model.initialize(ctx=ctx)
      copied.from_bytes(model_bytes)
      return copied
  
file_path: thinc/thinc/shims/mxnet.py
imports: import copy
  from typing import Any, cast
  import srsly
  from ..compat import mxnet
  from ..optimizers import Optimizer
  from ..types import ArgsKwargs, FloatsXd
  from ..util import convert_recursive, get_array_module, make_tempfile, mxnet2xp, xp2mxnet
  from .shim import Shim
label_desc: Use image node_id 5 for calling the MXNetShim obj's underlying member method code with example usage: obj.copy(ctx) and returns: copied