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
2ce91578
Unverified
Commit
2ce91578
authored
Feb 26, 2019
by
SparkSnail
Committed by
GitHub
Feb 26, 2019
Browse files
Merge pull request #134 from Microsoft/master
Support trialkeeper pipe outputStream flush (#782)
parents
281f3dc9
17f9075a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/sdk/pynni/nni/platform/local.py
src/sdk/pynni/nni/platform/local.py
+1
-1
No files found.
src/sdk/pynni/nni/platform/local.py
View file @
2ce91578
...
...
@@ -80,7 +80,7 @@ def send_metric(string):
if
_nni_platform
!=
'local'
:
data
=
(
string
).
encode
(
'utf8'
)
assert
len
(
data
)
<
1000000
,
'Metric too long'
print
(
'NNISDK_ME%s'
%
(
data
))
print
(
'NNISDK_ME%s'
%
(
data
)
,
flush
=
True
)
else
:
data
=
(
string
+
'
\n
'
).
encode
(
'utf8'
)
assert
len
(
data
)
<
1000000
,
'Metric too long'
...
...
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