Skip to content

computing _u in planar flow #2

Description

@BigTuna08

I think in the self._u() method of your PlanarFlow class, you have

tf.math.sqrt(tf.reduce_sum(self.w ** 2.0)))

but it should be just
tf.reduce_sum(self.w ** 2.0))

as the paper uses the squared norm.

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