Custom models with TensorFlow (Part-1)->Multi-output model
Using the below source code we will specify the optimizer as stochastic gradient descent and will mention the learning rate as 0.001. After that, we will compile the model with loss functions for both outputs. Note: We can mention different loss functions for different outputs. In the same way, we can also mention different metrics for different outputs. Using the below syntax we will train the model for 500 epochs.
Nov-15-2022, 07:50:13 GMT
- Technology: