Skip to content

Commit

Permalink
isort
Browse files Browse the repository at this point in the history
  • Loading branch information
scarlehoff committed Jan 30, 2024
1 parent 6a674c9 commit ff1cf95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions n3fit/src/n3fit/backends/keras_backend/internal_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,22 @@
Library of functions that modify the internal state of Keras/Tensorflow
"""
import os

import psutil

# Despite the current default being tf-eigen, the option below seems to have a positive impact
os.environ.setdefault("KMP_BLOCKTIME", "0")

# Reduce tensorflow verbosity
os.environ.setdefault("TF_CPP_MIN_LOG_LEVEL", "1")
import random as rn
import logging
import random as rn

import numpy as np
import tensorflow as tf
from tensorflow import keras
from tensorflow.keras import backend as K


log = logging.getLogger(__name__)


Expand Down
1 change: 1 addition & 0 deletions validphys2/src/validphys/lhapdf_compatibility.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
PDF interpolation library.
"""
from functools import cached_property

import numpy as np

try:
Expand Down

0 comments on commit ff1cf95

Please sign in to comment.