Skip to content

Adding a relevant line to explain the torch shape output in curve2coeff…#237

Open
CadmusFlux wants to merge 1 commit into
KindXiaoming:masterfrom
CadmusFlux:spline-fix-dimensions
Open

Adding a relevant line to explain the torch shape output in curve2coeff…#237
CadmusFlux wants to merge 1 commit into
KindXiaoming:masterfrom
CadmusFlux:spline-fix-dimensions

Conversation

@CadmusFlux
Copy link
Copy Markdown

While trying to understand the B_batch function, I initially thought the output printed in the curve2coeff example was trying to show the shape of the grid variable. This confused me as grids dimension. is [5,11].

Hence, just adding this code curve2coef(x_eval, y_eval, grid, k, device="cpu").shape to show that otput torch.Size([5, 13]) corresponds to this line.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant