forked from 626_privacy/tensorflow_privacy
Internal change.
PiperOrigin-RevId: 302557220
This commit is contained in:
parent
2301931725
commit
0c2747462f
2 changed files with 6 additions and 6 deletions
|
@ -26,7 +26,7 @@ py_test(
|
|||
name = "gaussian_query_test",
|
||||
size = "small",
|
||||
srcs = ["gaussian_query_test.py"],
|
||||
python_version = "PY2",
|
||||
python_version = "PY3",
|
||||
deps = [
|
||||
":gaussian_query",
|
||||
":test_utils",
|
||||
|
@ -52,7 +52,7 @@ py_test(
|
|||
name = "no_privacy_query_test",
|
||||
size = "small",
|
||||
srcs = ["no_privacy_query_test.py"],
|
||||
python_version = "PY2",
|
||||
python_version = "PY3",
|
||||
deps = [
|
||||
":no_privacy_query",
|
||||
":test_utils",
|
||||
|
@ -76,7 +76,7 @@ py_test(
|
|||
name = "normalized_query_test",
|
||||
size = "small",
|
||||
srcs = ["normalized_query_test.py"],
|
||||
python_version = "PY2",
|
||||
python_version = "PY3",
|
||||
deps = [
|
||||
":gaussian_query",
|
||||
":normalized_query",
|
||||
|
@ -100,7 +100,7 @@ py_test(
|
|||
name = "nested_query_test",
|
||||
size = "small",
|
||||
srcs = ["nested_query_test.py"],
|
||||
python_version = "PY2",
|
||||
python_version = "PY3",
|
||||
deps = [
|
||||
":gaussian_query",
|
||||
":nested_query",
|
||||
|
@ -127,7 +127,7 @@ py_library(
|
|||
py_test(
|
||||
name = "quantile_adaptive_clip_sum_query_test",
|
||||
srcs = ["quantile_adaptive_clip_sum_query_test.py"],
|
||||
python_version = "PY2",
|
||||
python_version = "PY3",
|
||||
deps = [
|
||||
":quantile_adaptive_clip_sum_query",
|
||||
":test_utils",
|
||||
|
|
|
@ -80,7 +80,7 @@ class QuantileAdaptiveClipSumQueryTest(
|
|||
expected_num_records=2.0)
|
||||
|
||||
noised_sums = []
|
||||
for _ in xrange(1000):
|
||||
for _ in range(1000):
|
||||
query_result, _ = test_utils.run_query(query, [record1, record2])
|
||||
noised_sums.append(query_result.numpy())
|
||||
|
||||
|
|
Loading…
Reference in a new issue