forked from apache/mxnet
-
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.
[NumPy]Set numpy default dtype (apache#17283)
* draft 1 Preliminary completion fix rebase mistake * add new change * use global flag & fix part of CI error * fix CI error * modify docs * rebase * consistent with FFI * ones/full ffi * arange ffi * identity ffi * depart set_np_default_dtype from set_np to test CI fix sanity error fix sanity error * test CI * fix CI error : use InitNumpyType instead of InitType / remove full ffi fix sanity error fix rebase error * try to pass CI * set the second output's dtype of normal to be float32 * modify ffi op * update & rebase * test windows CI * comment test when platform is windows * resolve comment * add to set_np
- Loading branch information
1 parent
f360f3e
commit fd04638
Showing
45 changed files
with
1,045 additions
and
277 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -83,5 +83,5 @@ def test_np_einsum(): | |
|
||
|
||
if __name__ == "__main__": | ||
npx.set_np() | ||
npx.set_np(dtype=False) | ||
test_np_einsum() |
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
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
Oops, something went wrong.