Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Aug 26, 2024
1 parent a692d7b commit ec8a56d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/coffea/ml_tools/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"""

from coffea.ml_tools.helper import numpy_call_wrapper
from coffea.ml_tools.torch_wrapper import torch_wrapper
from coffea.ml_tools.tf_wrapper import tf_wrapper
from coffea.ml_tools.torch_wrapper import torch_wrapper
from coffea.ml_tools.triton_wrapper import triton_wrapper
from coffea.ml_tools.xgboost_wrapper import xgboost_wrapper

Expand Down
3 changes: 2 additions & 1 deletion src/coffea/ml_tools/helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ class numpy_call_wrapper(abc.ABC):
{awkward.Array: awkward.to_numpy}, default_conv=container_converter.no_action
)
_np_to_ak_ = container_converter(
{numpy.ndarray: awkward.from_regular}, default_conv=container_converter.no_action
{numpy.ndarray: awkward.from_regular},
default_conv=container_converter.no_action,
)

def __init__(self):
Expand Down

0 comments on commit ec8a56d

Please sign in to comment.