Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
lietorch
Commits
dc6f5efe
Commit
dc6f5efe
authored
May 21, 2025
by
fengzch-das
Browse files
fix: update readme
parent
1a8ddcca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
README.md
README.md
+2
-1
No files found.
README.md
View file @
dc6f5efe
...
...
@@ -72,4 +72,5 @@ sh run_tests.sh
## 注意
针对 eigen 需要做下面几处修改:
+
lietorch/eigen/Eigen/src/Core/arch/Default/Half.h:669 行将
``return half(::hlog(a)); 修改为 return half(::hlog(float(a)));``
+
lietorch/eigen/Eigen/src/Core/arch/Default/Half.h:776 行将
``return x + (y-x) * half(float(std::rand()) / float(RAND_MAX));``
修改为
``return half(x + (y-x) * half(float(std::rand()) / float(RAND_MAX)));``
\ No newline at end of file
+
lietorch/eigen/Eigen/src/Core/arch/Default/Half.h:776 行将
``return x + (y-x) * half(float(std::rand()) / float(RAND_MAX));``
修改为
``return half(x + (y-x) * half(float(std::rand()) / float(RAND_MAX)));``
+
lietorch/eigen/Eigen/src/Core/MathFunctions.h:578 行将
``EIGEN_USING_STD(arg);``
修改为
``using std::arg;``
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment