Skip to content

TypeError: 'NoneType' object is not callable #50

@amirid

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions