Open
Description
The model definition in model zoo is a Python class. It defines the neural network structure and is compatible with various feature input. Please check the sample model.
The transform code is generated as a Python file from SQLFlow expression using code_gen. The transform code contains both feature column api and keras layer. Please refer to the Google Cloud Sample.
Besides these two, we also need a python file as an entry point. It combines the generated transform code and the model definition from model zoo into the complete mode code (aka. the submitter in SQLFlow). ElasticDL will start the training process with this complete model.