class_docstr: Creates a sub-namespace for variable paths.
  
  Args:
      name: Name of the current scope (string).
      caller: Optional ID of a caller object (e.g. class instance).
      deduplicate: If `True`, if `caller` was passed,
          and the previous caller matches the current caller,
          and the previous name matches the current name,
          do not reenter a new namespace.
class_docstr_tok: ["Creates","a","sub-namespace","for","variable","paths",".","Args",":","name",":","Name","of","the","current","scope","(","string",")",".","caller",":","Optional","ID","of","a","caller","object","(","e.g",".","class","instance",")",".","deduplicate",":","If","`","True","`",",","if","`","caller","`","was","passed",",","and","the","previous","caller","matches","the","current","caller",",","and","the","previous","name","matches","the","current","name",",","do","not","reenter","a","new","namespace","."]
code: def __enter__(self):
      name_scope_stack = global_state.get_global_attribute(
          "name_scope_stack", default=[], set_to_default=True
      )
      if self.deduplicate and name_scope_stack:
          parent_caller = name_scope_stack[-1].caller
          parent_name = name_scope_stack[-1].name
          if (
              self.caller is not None
              and self.caller is parent_caller
              and self.name == parent_name
          ):
              return self
      name_scope_stack.append(self)
      self._pop_on_exit = True
      return self
  
imports: from keras.backend.common import global_state
label_desc: Use image node_id 2 for calling the name_scope obj's underlying member method code with example usage: obj.__enter__() and returns: self, self