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
nni
Commits
c6683d10
"...composable_kernel_rocm.git" did not exist on "f5ec04f091fa5c48c67d7bacec36a414d0be06a5"
Commit
c6683d10
authored
Sep 14, 2018
by
xuehui
Browse files
change to raise NoMoreTrialError
parent
be2fbe27
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
src/sdk/pynni/nni/__init__.py
src/sdk/pynni/nni/__init__.py
+8
-0
No files found.
src/sdk/pynni/nni/__init__.py
View file @
c6683d10
...
...
@@ -23,3 +23,11 @@
from
.trial
import
*
from
.smartparam
import
*
class
NoMoreTrialError
(
Exception
):
def
__init__
(
self
,
ErrorInfo
):
super
().
__init__
(
self
)
self
.
errorinfo
=
ErrorInfo
def
__str__
(
self
):
return
self
.
errorinfo
\ 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