class_docstr: The context for outside compilation in Tensorflow 2.0.
  
  Every op added in this context will be assigned an _xla_outside_compilation
  attribute.
class_docstr_tok: ["The","context","for","outside","compilation","in","Tensorflow","2.0",".","Every","op","added","in","this","context","will","be","assigned","an","_xla_outside_compilation","attribute","."]
code: def __init__(self, name: Text, is_map_outside_compilation=False):
      control_flow_ops.ControlFlowContext.__init__(self)
      self._name = name
      self._is_map_outside_compilation = is_map_outside_compilation
  
imports: from typing import Any, Callable, List, Optional, Text, Tuple, Union
  from absl import logging
  from tensorflow.core.framework import attr_value_pb2
  from tensorflow.python.distribute import device_util
  from tensorflow.python.distribute import distribute_lib
  from tensorflow.python.framework import device
  from tensorflow.python.framework import errors
  from tensorflow.python.framework import func_graph
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import control_flow_ops
  from tensorflow.python.ops import variables
  from tensorflow.python.tpu import device_assignment
  from tensorflow.python.tpu.ops import tpu_ops
  from tensorflow.python.types import core
  from tensorflow.python.util import compat
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 1 to create a new OutsideCompilationV2Context object from inherited base classes: control_flow_ops with example: obj = OutsideCompilationV2Context(name, is_map_outside_compilation)