Skip to content

Commit

Permalink
Update n3fit/src/n3fit/backends/keras_backend/operations.py
Browse files Browse the repository at this point in the history
formatting

Co-authored-by: Juan M. Cruz-Martinez <juacrumar@lairen.eu>
  • Loading branch information
APJansen and scarlehoff authored Jul 10, 2023
1 parent 0518c7c commit e92b706
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions n3fit/src/n3fit/backends/keras_backend/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,7 @@ def batchit(x, batch_dimension=0, **kwarg):


# layer generation
def numpy_to_input(
numpy_array: np.ndarray, name: str = None,
):
def numpy_to_input(numpy_array: np.ndarray, name: str = None):
"""
Takes a numpy array and generates an Input layer with the same shape,
but with a batch dimension (of size 1) added.
Expand Down

0 comments on commit e92b706

Please sign in to comment.