forked from NVIDIA/apex
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use
torch.tensor
to create a tensor with initializer values (NVIDIA…
…#1588) * use `torch.tensor` with init values Signed-off-by: Masaki Kozuki <[email protected]> * Update apex/contrib/sparsity/sparse_masklib.py * remove torch._six Signed-off-by: Masaki Kozuki <[email protected]> * retire `torch._six` as per the upstream commit of `b005ec62b9`. Signed-off-by: Masaki Kozuki <[email protected]> * use std collections.abc Signed-off-by: Masaki Kozuki <[email protected]> --------- Signed-off-by: Masaki Kozuki <[email protected]>
- Loading branch information
Showing
4 changed files
with
14 additions
and
21 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
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
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
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