Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: improve context and tensor implemention #4133

Open
wants to merge 11 commits into
base: feature/heterogeneous-acceleration-architecture
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions python/fate_arch/tensor/__init__.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
from ._dataloader import LabeledDataloaderWrapper, UnlabeledDataloaderWrapper
from ._federation import ARBITER, GUEST, HOST
from ._context import Context, CipherKind
from ._tensor import (
FPTensor,
PHETensor,
)
from ._parties import Parties, PreludeParty
from ._tensor import CipherKind, Context, FPTensor, PHETensor

ARBITER = PreludeParty.ARBITER
GUEST = PreludeParty.GUEST
HOST = PreludeParty.HOST

__all__ = [
"FPTensor",
"PHETensor",
"Parties",
"ARBITER",
"GUEST",
"HOST",
"Context",
"LabeledDataloaderWrapper",
"UnlabeledDataloaderWrapper",
"CipherKind"
"CipherKind",
]
264 changes: 0 additions & 264 deletions python/fate_arch/tensor/_context.py

This file was deleted.

74 changes: 0 additions & 74 deletions python/fate_arch/tensor/_federation.py

This file was deleted.

Loading