parameters: (self, port_renumber: bool = False)
return_statement: return sorted(tensor_names_list)
docstring: Gets sorted tensor names list.
          :param port_renumber: defines whether data node index should be calculated considering port renumbering.
docstring_summary: Gets sorted tensor names list.
          :param port_renumber: defines whether data node index should be calculated considering port renumbering.
docstring_tokens: Gets sorted tensor names list . : param port_renumber : defines whether data node index should be calculated considering port renumbering .
function: def get_tensor_names(self, port_renumber: bool = False):
          """
          Gets sorted tensor names list.
          :param port_renumber: defines whether data node index should be calculated considering port renumbering.
          """
          tensor_debug_info = self.get_tensor_debug_info(port_renumber)
          tensor_names_list = []
          for attr in tensor_debug_info:
              if attr is not None and len(attr) >= 2:
                  tensor_name = attr[1]
                  if tensor_name is not None and len(tensor_name) > 0:
                      tensor_names_list.append(tensor_name.replace(',', '\\,'))
          return sorted(tensor_names_list)
function_tokens: def get_tensor_names ( self , port_renumber : bool = False ) : tensor_debug_info = self . get_tensor_debug_info ( port_renumber ) tensor_names_list = [ ] for attr in tensor_debug_info : if attr is not None and len ( attr ) >= 2 : tensor_name = attr [ 1 ] if tensor_name is not None and len ( tensor_name ) > 0 : tensor_names_list . append ( tensor_name . replace ( ',' , '\\,' ) ) return sorted ( tensor_names_list )