forked from facebookresearch/PrivacyGuard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
31 lines (29 loc) · 794 Bytes
/
__init__.py
File metadata and controls
31 lines (29 loc) · 794 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# pyre-strict
# Copyright (c) Meta Platforms, Inc. and affiliates.
# Shadow model training package for privacy attacks.
from privacy_guard.shadow_model_training.dataset import (
create_shadow_datasets,
load_cifar10,
)
from privacy_guard.shadow_model_training.model import create_model
from privacy_guard.shadow_model_training.training import (
get_transformed_logits,
prepare_lira_data,
train_model,
)
from privacy_guard.shadow_model_training.visualization import (
analyze_attack,
plot_roc_curve,
plot_score_distributions,
)
__all__ = [
"analyze_attack",
"create_model",
"create_shadow_datasets",
"get_transformed_logits",
"load_cifar10",
"plot_roc_curve",
"plot_score_distributions",
"prepare_lira_data",
"train_model",
]