def METHOD_NAME(model_buffer: bytearray) -> List[str]:
  """Gets a list of the input tensor names."""
  subgraph = _get_subgraph(model_buffer)
  tensor_names = []
  for i in range(subgraph.InputsLength()):
    index = subgraph.Inputs(i)
    tensor_names.append(subgraph.Tensors(index).Name().decode("utf-8"))
  return tensor_names