class_docstr: A context where the current model is built in.
  You need to use :func:`TowerContext` to create a :class:`BaseTowerContext`.
class_docstr_tok: ["A","context","where","the","current","model","is","built","in",".","You","need","to","use",":","func",":","`","TowerContext","`","to","create","a",":","class",":","`","BaseTowerContext","`","."]
docstr: This is not supposed to be used by users.
  You need to use :func:`TowerContext` to create a :class:`BaseTowerContext`.
  
  Args:
      ns_name (str): The name scope of the tower.
      vs_name (str): Open a new variable scope with this name.
docstr_tok: ["This","is","not","supposed","to","be","used","by","users",".","You","need","to","use",":","func",":","`","TowerContext","`","to","create","a",":","class",":","`","BaseTowerContext","`",".","Args",":","ns_name","(","str",")",":","The","name","scope","of","the","tower",".","vs_name","(","str",")",":","Open","a","new","variable","scope","with","this","name","."]
code: def __init__(self, ns_name, vs_name=""):
      """
      This is not supposed to be used by users.
      You need to use :func:`TowerContext` to create a :class:`BaseTowerContext`.
  
      Args:
          ns_name (str): The name scope of the tower.
          vs_name (str): Open a new variable scope with this name.
      """
      self._name = ns_name
  
      self._vs_name = vs_name
      if len(vs_name):
          assert len(
              ns_name
          ), "TowerContext(vs_name) cannot be used with an empty name!"
  
imports: from abc import ABCMeta, abstractmethod, abstractproperty
  import six
  from ..compat import tfv1
  from ..utils import logger
  from ..utils.argtools import call_only_once
  from ..utils.develop import HIDE_DOC
  from ..utils.naming import MOVING_SUMMARY_OPS_KEY
  from .collection import CollectionGuard
  from .common import get_op_or_tensor_by_name, get_op_tensor_name
label_desc: Use image node_id 1 to create a new BaseTowerContext object from inherited base classes: object with example: obj = BaseTowerContext(ns_name, vs_name)