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
Paddle
Commits
fb720bb0
You need to sign in or sign up before continuing.
Commit
fb720bb0
authored
May 14, 2024
by
yuguo-Jack
Browse files
pybind.cc
parent
2304e2f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
paddle/fluid/pybind/pybind.cc
paddle/fluid/pybind/pybind.cc
+1
-1
No files found.
paddle/fluid/pybind/pybind.cc
View file @
fb720bb0
...
...
@@ -2372,7 +2372,7 @@ All parameter, weight, gradient are variables in Paddle.
},
py
::
return_value_policy
::
copy
);
py
::
class_
<
gpuDeviceProp
>
(
m
,
"_gpuDeviceProperties"
)
py
::
class_
<
gpuDeviceProp
>
(
m
,
"_gpuDeviceProperties"
,
py
::
module_local
()
)
.
def_property_readonly
(
"name"
,
[](
const
gpuDeviceProp
&
prop
)
{
return
prop
.
name
;
})
.
def_property_readonly
(
...
...
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