Home > front end >  What is JSON and ymal models in tensorflow?
What is JSON and ymal models in tensorflow?

Time:01-22

I am new to TensorFlow. I could not understand the doc of "JSON" and "ymal". What do these modules actually do? Here is the link to them:

https://www.tensorflow.org/api_docs/python/tf/keras/models

CodePudding user response:

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.

  •  Tags:  
  • Related