Skip to content

Build() method with more than one argument #17

@yuriy-babenko

Description

@yuriy-babenko

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions