FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
plasma-python/plasma/__init__.py at master · PPPLDeepLearning/plasma-python · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
PPPLDeepLearning
/
plasma-python
Public
Notifications
You must be signed in to change notification settings
Fork
44
Star
93
Code
Issues
21
Pull requests
1
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
plasma-python
/
plasma
/
__init__.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
27 lines (25 loc) · 1.18 KB
Breadcrumbs
plasma-python
/
plasma
/
__init__.py
Copy path
File metadata and controls
27 lines (25 loc) · 1.18 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# import os
import
logging
try
:
import
absl
.
logging
# https://github.com/abseil/abseil-py/issues/99
logging
.
root
.
removeHandler
(
absl
.
logging
.
_absl_handler
)
# https://github.com/abseil/abseil-py/issues/102
absl
.
logging
.
_warn_preinit_stderr
=
False
except
Exception
:
pass
import
warnings
# TODO(KGF): temporarily suppress numpy>=1.17.0 warning with TF<2.0.0
# ~6x tensorflow/python/framework/dtypes.py:529: FutureWarning ...
warnings
.
filterwarnings
(
'ignore'
,
category
=
FutureWarning
,
message
=
r"passing \(type, 1\) or '1type' as a synonym of type is deprecated"
,
# noqa
module
=
"tensor*"
)
# Optional: disable the C-based library diagnostic info and warning messages:
# 2019-11-06 18:27:31.698908: I ... dynamic library libcublas.so.10
# (independent from tf.logging.set_verbosity() diagnostic control)
# Must be set before first import of tensorflow v0.12+
# (either directly or via Keras backend)
# os.environ['TF_CPP_MIN_LOG_LEVEL'] = '3'
# Ref: https://github.com/tensorflow/tensorflow/issues/1258
# https://stackoverflow.com/questions/35911252/disable-tensorflow-debugging-information/38645250#38645250 # noqa
Back
|
FazBrowse Home
|
New Git URL