Not sure what I’m doing wrong here. The relevant lines of code and the error message are below.
You don’t need the “activation” argument, and you need to also provide the layer with a data parameter.
I’ve been reading the documentation for Dense, but I’m not sure what you mean by a “data parameter” here.
You have to pass the ‘x’ variable to the Dense layer.
tfl.Dense(units=1)(x)