aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/ops/distributions/multinomial.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/ops/distributions/multinomial.py')
-rw-r--r--tensorflow/python/ops/distributions/multinomial.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/ops/distributions/multinomial.py b/tensorflow/python/ops/distributions/multinomial.py
index 26b5c5aef9..4ae67a009b 100644
--- a/tensorflow/python/ops/distributions/multinomial.py
+++ b/tensorflow/python/ops/distributions/multinomial.py
@@ -238,7 +238,7 @@ class Multinomial(distribution.Distribution):
n_draws = math_ops.cast(self.total_count, dtype=dtypes.int32)
k = self.event_shape_tensor()[0]
- # boardcast the total_count and logits to same shape
+ # broadcast the total_count and logits to same shape
n_draws = array_ops.ones_like(
self.logits[..., 0], dtype=n_draws.dtype) * n_draws
logits = array_ops.ones_like(