tfds.testing.DummySerializer

{ }

To mock example_serializer.ExampleSerializer.

example_specs Dataclass field

Methods

serialize_example

View source

Serialize the given example.

Args
example Nested dict containing the input to serialize. The input structure and values dtype/shape must match the example_specs provided at construction.

Returns
the serialized example.

__eq__