Skip to content

constant_tensor in BevDecoder #47

Description

@LIIHWF

Hi,

I noticed that the attribute constant_tensor is randomly assigned in the class BevDecoder, and BevDecoder is enabled in Mile by default.

self.constant_tensor = nn.Parameter(torch.randn((n_channels, *constant_size), dtype=torch.float32))

I wonder what the role of this attribute is, and is it necessary to make its value random?

Introducing randomness into the system may also introduce unknown risks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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