TikTok Interview Question

Draw a neural network and write the loss function.