-
Notifications
You must be signed in to change notification settings - Fork 661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tensor str #5783
Merged
Merged
Tensor str #5783
Conversation
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
…support_tensor_to/to_local Conflicts: oneflow/core/framework/tensor.h
…support_tensor_to/to_local
…support_tensor_to/to_local Conflicts: oneflow/core/framework/op_expr.cpp oneflow/core/framework/tensor.h
…support_tensor_to/to_local Conflicts: oneflow/core/framework/op_interpreter.h
…support_tensor_to/to_local
…support_tensor_to/to_local Conflicts: oneflow/api/python/symbol/sbp_symbol.cpp
…support_tensor_to/to_local
…support_tensor_to/to_local
…support_tensor_to/to_local Conflicts: oneflow/api/python/framework/op_expr.cpp oneflow/api/python/framework/tensor.cpp oneflow/core/framework/op_expr.h
…support_tensor_to/to_local
…support_tensor_to/to_local
…support_tensor_to/to_local
…support_tensor_to/to_local
…support_tensor_to/to_local Conflicts: oneflow/api/python/framework/tensor.cpp
…support_tensor_to/to_local
CI failed, removing label automerge |
好像新合进去一批doctest又出问题了,需要重新测一下Module下所有doctest |
Speed stats:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Tensor str
效果图:
![截屏2021-08-09 下午7 22 30](https://user-images.githubusercontent.com/29565305/128699462-be73090d-0601-4083-b992-91335443362d.png)
![截屏2021-08-09 下午7 24 03](https://user-images.githubusercontent.com/29565305/128699508-e29e8c36-0e50-449f-a6c4-4e28533c9e5a.png)
![截屏2021-08-09 下午7 24 26](https://user-images.githubusercontent.com/29565305/128699562-0ab4b41b-4185-4fab-a44d-96dd96268d82.png)
![截屏2021-08-09 下午7 24 45](https://user-images.githubusercontent.com/29565305/128699804-d9219b83-28dc-4fca-84d2-f43f23f392c3.png)
![截屏2021-08-09 下午7 25 14](https://user-images.githubusercontent.com/29565305/128699919-2179c513-778a-4823-bac3-433d6c01ac3b.png)
![截屏2021-08-09 下午7 27 21](https://user-images.githubusercontent.com/29565305/128699871-1a3a8a91-56e3-4631-bd9d-c7b711155f81.png)
![截屏2021-08-11 下午2 45 39](https://user-images.githubusercontent.com/29565305/128982247-a7a7bcc1-9ae4-4bb2-a221-974561624c0c.png)
![截屏2021-08-11 下午2 31 42](https://user-images.githubusercontent.com/29565305/128982349-41f1d355-78e0-4723-8a60-18b3ffc0bb66.png)
![截屏2021-08-11 下午2 57 23](https://user-images.githubusercontent.com/29565305/129010357-3e583dac-db68-4edb-b912-6bc94ee4c11e.png)
int 类型:
int mode(val == np.ceil(val)),科学计数法:
int mode, 非科学计数法:
浮点类型:
浮点类型,科学计数法:
压缩数据形式:
consistent tensor打印(暂时不能打印数据):
local tensor以及它的meta打印:
consistent tensor以及meta打印:
@strint