Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
2
210130121
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Summer2021
210130121
Commits
326be45a
Unverified
Commit
326be45a
authored
3 years ago
by
Luyang
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
fix -1 index not support bug (#5448)
* fix -1 index not support bug * add test case * fix -1 index not support bug
parent
3abfe716
No related branches found
No related tags found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
oneflow/python/framework/tensor.py
+5
-1
5 additions, 1 deletion
oneflow/python/framework/tensor.py
oneflow/python/test/modules/test_slice.py
+17
-0
17 additions, 0 deletions
oneflow/python/test/modules/test_slice.py
with
22 additions
and
1 deletion
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment