Skip to content

Commit

Permalink
monkey patch added
Browse files Browse the repository at this point in the history
Signed-off-by: yes <[email protected]>
  • Loading branch information
tanwarsh committed Dec 23, 2024
1 parent 8896b28 commit 5a2b163
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions openfl/federated/data/loader_pt.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,16 @@

"""PyTorchDataLoader module."""

import sys
from math import ceil

import numpy as np
import typing_extensions

from openfl.federated.data.loader import DataLoader

sys.modules["pip._vendor.typing_extensions"] = typing_extensions


class PyTorchDataLoader(DataLoader):
"""A class used to represent a Federation Data Loader for PyTorch models.
Expand Down

0 comments on commit 5a2b163

Please sign in to comment.