bstriner / bstriner/bayesian_dense
Unable to execute example
- Dominant language
- Python
- Stars
- 47
- Forks
- 11
- PR merge metrics
- No merged PRs in 30d
Description
TypeError Traceback (most recent call last)
in ()
73 decay = 0.96
74 lr = 1e-3
---> 75 m=model()
76 m.summary()
77 log = []
in model(hidden_dim, input_dim, sigma_regularization, mu_regularization, k, activation)
44 h2 = layer(hidden_dim, activation)
45 y = layer(k, 'softmax')
---> 46 _y = y(h2(h1(_x)))
47
48 m = Model(_x, _y)
C:\ProgramData\Anaconda3\lib\site-packages\keras\engine\base_layer.py in __call__(self, inputs, **kwargs)
429 'You can build it manually via: '
430 '`layer.build(batch_input_shape)`')
--> 431 self.build(unpack_singleton(input_shapes))
432 self.built = True
433
in build(self, input_shape)
76
77 self.W_mu = self.init((input_dim, self.output_dim),
---> 78 name='{}_W_mu'.format(self.name))
79 self.W_log_sigma = self.init_sigma((input_dim, self.output_dim),
80 name='{}_W_log_sigma'.format(self.name))
TypeError: __call__() got an unexpected keyword argument 'name'
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.