Skip to content

TypeError: 'NoneType' object is not callable #50

Description

@amirid

Hi,
I want to port z = nn.Sampler():forward({mean, log_var}) from torch to the following in python:

sampler = nn.Sampler()
z = sampler._forward(mean, log_var)

and I get the following error:

sampler = nn.Sampler()
TypeError: 'NoneType' object is not callable

How can I solve it?

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions