move lament into core
This commit is contained in:
parent
7da93e93a8
commit
22dc651cce
2 changed files with 3 additions and 3 deletions
3
onn.py
3
onn.py
|
@ -11,9 +11,6 @@ from onn_core import _check, _f, _0, _1
|
|||
|
||||
import sys
|
||||
|
||||
def lament(*args, **kwargs):
|
||||
print(*args, file=sys.stderr, **kwargs)
|
||||
|
||||
_log_was_update = False
|
||||
def log(left, right, update=False):
|
||||
s = "\x1B[1m {:>20}:\x1B[0m {}".format(left, right)
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
import sys
|
||||
|
||||
def lament(*args, **kwargs):
|
||||
print(*args, file=sys.stderr, **kwargs)
|
||||
|
||||
import numpy as np
|
||||
_f = np.float32
|
||||
|
||||
|
|
Loading…
Reference in a new issue