class_docstr: Hardware configuration object.
  
  This object contains all the information
  needed for compiling to a specific VTA backend.
  
  Parameters
  ----------
  cfg : dict of str to value.
      The configuration parameters.
  
  Example
  --------
  .. code-block:: python
  
    # the following code reconfigures the environment
    # temporarily to attributes specified in new_cfg.json
    new_cfg = json.load(json.load(open("new_cfg.json")))
    with vta.Environment(new_cfg):
        # env works on the new environment
        env = vta.get_env()
class_docstr_tok: ["Hardware","configuration","object",".","This","object","contains","all","the","information","needed","for","compiling","to","a","specific","VTA","backend",".","Parameters","--","--","--","--","--","cfg",":","dict","of","str","to","value",".","The","configuration","parameters",".","Example","--","--","--","--","..","code-block",":",":","python","#","the","following","code","reconfigures","the","environment","#","temporarily","to","attributes","specified","in","new_cfg.json","new_cfg","=","json.load","(","json.load","(","open","(","``","new_cfg.json","''",")",")",")","with","vta.Environment","(","new_cfg",")",":","#","env","works","on","the","new","environment","env","=","vta.get_env","(",")"]
docstr: DMA copy pragma
docstr_tok: ["DMA","copy","pragma"]
code: def dma_copy(self):
      """DMA copy pragma"""
      return "dma_copy" if not self.mock_mode else "skip_dma_copy"
  
imports: from __future__ import absolute_import
  import os
  import json
  import copy
  import tvm
  from tvm import te
  from .None import intrin
label_desc: Use image node_id 7 for calling the Environment obj's underlying member method code with example usage: obj.dma_copy() and returns: unknown