tfds.core.SplitDict

Class SplitDict

Defined in core/splits.py.

Split info object.

__init__

__init__()

Properties

total_num_examples

Return the total number of examples.

Methods

__getitem__

__getitem__(key)

__setitem__

__setitem__(
    key,
    value
)

add

add(split_info)

Add the split info.

copy

copy()

from_proto

@classmethod
from_proto(
    cls,
    repeated_split_infos
)

Returns a new SplitDict initialized from the repeated_split_infos.

to_proto

to_proto()

Returns a list of SplitInfo protos that we have.

update

update(other)