class_docstr: Defines `custom data type validation.
  
  <https://pydantic-docs.helpmanual.io/#custom-data-types>`_ for
  the :class:`~mxnet.context.Context` data type.
class_docstr_tok: ["Defines","`","custom","data","type","validation",".","<","https",":","\/\/pydantic-docs.helpmanual.io\/","#","custom-data-types",">","`","_","for","the",":","class",":","`","~mxnet.context.Context","`","data","type","."]
code: def __get_validators__(cls) -> mx.Context:
      yield cls.validate
  
file_path: gluonts/src/gluonts/mx/context.py
imports: import functools
  import logging
  import re
  from typing import Union
  import mxnet
label_desc: Use image node_id 2 for calling the MXContext obj's underlying member method code with example usage: obj.__get_validators__(cls) without return types