You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's possible this approach would provide a marginal speed boost to __call__: perform the spline evaluation values broadcast with a reshape operation, and save the reshape argument which does not change.
In init: self.interval_workspace_broadcast_shape = (-1,) + (1,)*self.xdim
in second argument to np.add of compute_basis_coefficient_selector:
replace: self.interval_workspace[i][(slice(0,num_points),) + (None,)*self.xdim],
with: self.interval_workspace[i, :num_points].reshape(self.interval_workspace_broadcast_shape),
The text was updated successfully, but these errors were encountered:
It's possible this approach would provide a marginal speed boost to
__call__
: perform the spline evaluation values broadcast with a reshape operation, and save the reshape argument which does not change.In init:
self.interval_workspace_broadcast_shape = (-1,) + (1,)*self.xdim
in second argument to np.add of compute_basis_coefficient_selector:
replace:
self.interval_workspace[i][(slice(0,num_points),) + (None,)*self.xdim],
with:
self.interval_workspace[i, :num_points].reshape(self.interval_workspace_broadcast_shape),
The text was updated successfully, but these errors were encountered: