Skip to content

class used in a function without importing it first #9

Description

@shantanuo

I tried the "heamy" module as shown in this example and it works as expected.

https://github.com/rushter/heamy/blob/master/examples/walkthrough.ipynb

I expected the line 24 to fail as Sequential class is not imported anywhere in the script. mlp_model function should not complete without error, I guess. What am I missing?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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