code: def get_tensor(self, name):
          
          name = get_op_tensor_name(name)[1]
          if len(self.ns_name):
              name_with_ns = self.ns_name + "/" + name
          else:
              name_with_ns = name
  
          try:
              ret = get_op_or_tensor_by_name(name_with_ns)
          except KeyError:
              if name in self._extra_tensor_names:
                  return self._extra_tensor_names[name]
              raise
          else:
              if name in self._extra_tensor_names:
                  mapped_tensor = self._extra_tensor_names[name]
                  logger.info(
                      "'{}' may refer to both the Tensor/Placeholder '{}' or the input to the tower '{}'.".format(
                          name, ret.name, mapped_tensor.name) +
                      " Assuming it is the input '{}'.".format(mapped_tensor.name))
                  return mapped_tensor
              return ret
docs: Get a tensor in this tower. The name can be:
  
          1. The name of the tensor without any tower prefix.
  
          2. A name in the input signature, if it is used when building the tower.
  
          In the second case, this method will return the tensor that's used as the corresponding
          input to the tower. Note that this tensor may have a different name (e.g. may be an output of a queue).