Closed oleksandr-pavlyk closed 7 years ago
@sbailey reference.npz
was saved using the pre-dungeon master of specter, like you suggested, which explains the large speed-up factor.
Thanks! Merging into memory branch now before final cleanup of memory branch to merge with master.
In
fit_traces
moved creation of array of rescaled values out of the loop, since it was the same on each iteration.While rescaling array values to [-1,1] grouped factors so that array is multiplied by a scalar once, rather than twice.
when
eval
is called with vectorispec
uselegval
with tensor input, rather than use comprehension with multiple calls tolegval
with vector coefficients.Now: