I am currently trying to understand the Tensorforce library . I keep stumbling across a signature in the form:
class tensorforce.core.layers.Dense(*, size, bias=True, activation='tanh', dropout=0.0, initialization_scale=1.0, vars_trainable=True, l2_regularization=None, name=None, input_spec=None)
What does it mean if the asterisk * is at the very beginning and how can I instantiate such a class, or can you do that at all?
An instantiation in the form
from tensorforce.core.layers import Dense
d = Dense(4)
fails with the error message
Traceback (most recent call last):
File "<ipython-input-6-df27ca99113e>", line 1, in <module>
Dense(4)
TypeError: __init__() takes 1 positional argument but 2 were given