class_docstr: TVM device strucure.
  
  Typically constructed using convenience function
  :meth:`tvm.runtime.device`.
  
  Exposes uniform interface to device-specific APIs such as CUDA or
  OpenCL.  Some properties may return None depending on whether an
  API exposes that particular property.
  
  NOTE!  The integer values in MASK2STR and STR2MASK *must* correspond
  to the values provided by the DLDeviceType and TVMDeviceExtType enums.
class_docstr_tok: ["TVM","device","strucure",".","Typically","constructed","using","convenience","function",":","meth",":","`","tvm.runtime.device","`",".","Exposes","uniform","interface","to","device-specific","APIs","such","as","CUDA","or","OpenCL",".","Some","properties","may","return","None","depending","on","whether","an","API","exposes","that","particular","property",".","NOTE","!","The","integer","values","in","MASK2STR","and","STR2MASK","*","must","*","correspond","to","the","values","provided","by","the","DLDeviceType","and","TVMDeviceExtType","enums","."]
docstr: Return the max clock frequency of device (kHz).
  
  Returns device value for cuda, rocm, and opencl.  Returns
  remote device value for RPC devices.  Returns None for all
  other devices.
  
  Returns
  -------
  max_clock_rate : int or None
      The maximum clock frequency of the device (kHz)
docstr_tok: ["Return","the","max","clock","frequency","of","device","(","kHz",")",".","Returns","device","value","for","cuda",",","rocm",",","and","opencl",".","Returns","remote","device","value","for","RPC","devices",".","Returns","None","for","all","other","devices",".","Returns","--","--","--","-","max_clock_rate",":","int","or","None","The","maximum","clock","frequency","of","the","device","(","kHz",")"]
code: def max_clock_rate(self):
      """Return the max clock frequency of device (kHz).
  
      Returns device value for cuda, rocm, and opencl.  Returns
      remote device value for RPC devices.  Returns None for all
      other devices.
  
      Returns
      -------
      max_clock_rate : int or None
          The maximum clock frequency of the device (kHz)
  
      """
      return self._GetDeviceAttr(self.device_type, self.device_id, 6)
  
imports: import ctypes
  import json
  import numpy
  from .base import _LIB, check_call
label_desc: Use image node_id 9 for calling the Device obj's underlying member method code with example usage: obj.max_clock_rate() and returns: self