parameters: (data: NumericData)
return_statement: return []
docstring: Return a shape of NumericData.
docstring_summary: Return a shape of NumericData.
docstring_tokens: Return a shape of NumericData .
function: def get_shape(data: NumericData) -> TensorShape:
      """Return a shape of NumericData."""
      if type(data) == np.ndarray:
          return data.shape  # type: ignore
      elif type(data) == list:
          return [len(data)]  # type: ignore
      return []
function_tokens: def get_shape ( data : NumericData ) -> TensorShape : if type ( data ) == np . ndarray : return data . shape # type: ignore elif type ( data ) == list : return [ len ( data ) ] # type: ignore return [ ]