What is JSON and ymal models in tensorflow?
They are common file formats, not too different from .txt or .csv files.
They store data that will be read and written to by TensorFlow in your case. When you train a model you will be able to save it in a JSON or YAML format. These formats are generally pretty human-readable.
The functions you are referring to can load a saved model configuration from a JSON or YAML file.