I’m getting a syntax error when creating my tensorflow model, but I don’t understand what’s triggering it?
Sequential model is created using a list of layers as shown in your image. Please use layers directly. See this link for more details.
As Balaji points out, you are creating a list of instantiated layers here. A list in python syntax requires commas to separate the entries.
Or you can create the list by using the model.add() method, in which case you just call that function and don’t put that within the Sequential structure. You’ve done a “both and” strategy here with bad syntax to boot.