deep-learning-with-R-2nd-edition-code icon indicating copy to clipboard operation
deep-learning-with-R-2nd-edition-code copied to clipboard

Build() method with more than one argument

Open yuriy-babenko opened this issue 1 year ago • 2 comments

https://github.com/t-kalinowski/deep-learning-with-R-2nd-edition-code/blob/5d666f93d52446511a8a8e4eb739eba1c0ffd199/ch03.R#L314

Error message:

Error in py_call_impl(callable, call_args$unnamed, call_args$named) : ValueError: For a build() method with more than one argument, all arguments should have a _shape suffix and match an argument from call(). E.g. build(self, foo_shape, bar_shape) For layer 'SimpleDense', Received build() argument self, which does not end in _shape.

yuriy-babenko avatar Aug 06 '24 09:08 yuriy-babenko