parameters: (tag)
return_statement: return TagScope(tag)
docstring: The operator tag scope.
  
      Parameters
      ----------
      tag: str
          The tag name.
  
      Returns
      -------
      tag_scope: TagScope
          The tag scope object, which can be used as decorator or
          context manger.
  
      Example
      -------
      .. code-block:: python
  
          n = tvm.var('n')
          m = tvm.var('m')
          l = tvm.var('l')
          A = tvm.placeholder((n, l), name='A')
          B = tvm.placeholder((m, l), name='B')
          k = tvm.reduce_axis((0, l), name='k')
  
          with tvm.tag_scope(tag='matmul'):
              C = tvm.compute((n, m), lambda i, j: tvm.sum(A[i, k] * B[j, k], axis=k))
  
          # or use tag_scope as decorator
          @tvm.tag_scope(tag="conv")
          def compute_relu(data):
              return tvm.compute(data.shape, lambda *i: tvm.select(data(*i) < 0, 0.0, data(*i)))
docstring_summary: The operator tag scope.
docstring_tokens: The operator tag scope .
function: def tag_scope(tag):
      """The operator tag scope.
  
      Parameters
      ----------
      tag: str
          The tag name.
  
      Returns
      -------
      tag_scope: TagScope
          The tag scope object, which can be used as decorator or
          context manger.
  
      Example
      -------
      .. code-block:: python
  
          n = tvm.var('n')
          m = tvm.var('m')
          l = tvm.var('l')
          A = tvm.placeholder((n, l), name='A')
          B = tvm.placeholder((m, l), name='B')
          k = tvm.reduce_axis((0, l), name='k')
  
          with tvm.tag_scope(tag='matmul'):
              C = tvm.compute((n, m), lambda i, j: tvm.sum(A[i, k] * B[j, k], axis=k))
  
          # or use tag_scope as decorator
          @tvm.tag_scope(tag="conv")
          def compute_relu(data):
              return tvm.compute(data.shape, lambda *i: tvm.select(data(*i) < 0, 0.0, data(*i)))
      """
      return TagScope(tag)
function_tokens: def tag_scope ( tag ) : return TagScope ( tag )