Skip to content

why the value of µ_t0 and α_t0 be always assigned to zero vectors? #13

@AlphaMind123

Description

@AlphaMind123

x = torch.cat([torch.zeros_like(x[:, :1]), x[:, :-1]], dim=1)

Why should µ_t0 and α_t0 be assigned to zero vectors after passing through MetaBlock?because of the following code:

x = self.proj_out(x) # (b, t, 32)
x = torch.cat([torch.zeros_like(x[:, :1]), x[:, :-1]], dim=1) #
if self.nvp: # True
xa, xb = x.chunk(2, dim=-1) # alpha, miu

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