Skip to content

Question about the usage of self.M in ‘QuadraticSpline‘ #3

@dazhongtu

Description

@dazhongtu

Hello, Li.
I have read your published paper and code, and I think it's excellent work.
My question is about the variable self.M = torch.kron(self.BC, self.BC) in class QuadraticSpline.

It seems that this variable occupies a large amount of memory, and I often encounter "out of memory" errors during execution.
However, I am not sure about the purpose of self.Mand I couldn't find its usage in other files.
Thank you for open-sourcing this code, which has been very helpful to me. I would be very grateful if you could reply.

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