projects
/
platform
/
upstream
/
tensorflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dd24a09
)
[tf.data] Fix indentation.
author
joel-shor
<joelshor@google.com>
Fri, 27 Apr 2018 21:20:53 +0000
(
00:20
+0300)
committer
joel-shor
<joelshor@google.com>
Fri, 27 Apr 2018 21:20:53 +0000
(
00:20
+0300)
tensorflow/contrib/data/python/ops/resampling.py
patch
|
blob
|
history
diff --git
a/tensorflow/contrib/data/python/ops/resampling.py
b/tensorflow/contrib/data/python/ops/resampling.py
index
f7ea44b
..
1194b84
100644
(file)
--- a/
tensorflow/contrib/data/python/ops/resampling.py
+++ b/
tensorflow/contrib/data/python/ops/resampling.py
@@
-86,7
+86,7
@@
def rejection_resample(class_func, target_dist, initial_dist=None, seed=None):
filtered_ds = filtered_ds.prefetch(3)
prob_original_static = _get_prob_original_static(
-
initial_dist_t, target_dist_t) if initial_dist is not None else None
+ initial_dist_t, target_dist_t) if initial_dist is not None else None
if prob_original_static == 1:
return dataset_ops.Dataset.zip((class_values_ds, dataset))
elif prob_original_static == 0: