-
Notifications
You must be signed in to change notification settings - Fork 648
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MNT] update nbeats/sub_modules.py to remove overhead in tensor creat…
…ion (#1580) This commit removes a warning raised by nbeats/sub_module.py: `UserWarning: Creating a tensor from a list of numpy.ndarrays is extremely slow. Please consider converting the list to a single numpy.ndarray with numpy.array() before converting to a tensor.` This commit replaces the relevant sections with the appropriate code to remove the warning in the nbeats submodule. (similar to #754) Co-authored-by: Felix Hirwa Nshuti <[email protected]>
- Loading branch information
Showing
1 changed file
with
9 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters