Skip to content

Commit a07b52d

Browse files
PraChetittensorflower-gardener
authored andcommitted
Fixes a typo in docstring.
PiperOrigin-RevId: 264967879
1 parent 7c72212 commit a07b52d

File tree

1 file changed

+3
-3
lines changed
  • tensorflow_model_optimization/python/core/internal/tensor_encoding/encoders

1 file changed

+3
-3
lines changed

tensorflow_model_optimization/python/core/internal/tensor_encoding/encoders/common_encoders.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ def as_simple_encoder(encoder, tensorspec):
5252

5353

5454
def as_gather_encoder(encoder, tensorspec):
55-
"""Wraps an `Encoder` object as a `GahterEncoder`.
55+
"""Wraps an `Encoder` object as a `GatherEncoder`.
5656
5757
Args:
5858
encoder: An `Encoder` object to be used to encoding.
59-
tensorspec: A `TensorSpec`. The created `GahterEncoder` will be constrained
59+
tensorspec: A `TensorSpec`. The created `GatherEncoder` will be constrained
6060
to only encode input values compatible with `tensorspec`.
6161
6262
Returns:
63-
A `GahterEncoder`.
63+
A `GatherEncoder`.
6464
6565
Raises:
6666
TypeError:

0 commit comments

Comments
 (0)