class_docstr: Class for importing MXNet Gluon models.
docstr: Return the device on which the model runs.
  
  :return: The device on which the model runs (CPU or GPU).
docstr_tok: ["Return","the","device","on","which","the","model","runs",".",":","return",":","The","device","on","which","the","model","runs","(","CPU","or","GPU",")","."]
code: def ctx(self) -> "mx.context.Context":
      """
      Return the device on which the model runs.
  
      :return: The device on which the model runs (CPU or GPU).
      """
      return self._ctx
  
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import logging
  import os
  from typing import List, Optional, Tuple, Union, TYPE_CHECKING
  import numpy
  import six
  from art import config
  from art.estimators.mxnet import MXEstimator
  from art.estimators.classification.classifier import ClassGradientsMixin, ClassifierMixin
  from art.utils import check_and_transform_label_format
label_desc: Use image node_id 5 for calling the MXClassifier obj's underlying member method code with example usage: obj.ctx() and returns: self