We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c72212 commit a07b52dCopy full SHA for a07b52d
tensorflow_model_optimization/python/core/internal/tensor_encoding/encoders/common_encoders.py
@@ -52,15 +52,15 @@ def as_simple_encoder(encoder, tensorspec):
52
53
54
def as_gather_encoder(encoder, tensorspec):
55
- """Wraps an `Encoder` object as a `GahterEncoder`.
+ """Wraps an `Encoder` object as a `GatherEncoder`.
56
57
Args:
58
encoder: An `Encoder` object to be used to encoding.
59
- tensorspec: A `TensorSpec`. The created `GahterEncoder` will be constrained
+ tensorspec: A `TensorSpec`. The created `GatherEncoder` will be constrained
60
to only encode input values compatible with `tensorspec`.
61
62
Returns:
63
- A `GahterEncoder`.
+ A `GatherEncoder`.
64
65
Raises:
66
TypeError:
0 commit comments