TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tfds.core.SplitDict

View source

Class SplitDict

Split info object.

__init__

View source

__init__()

Properties

total_num_examples

Return the total number of examples.

Methods

__getitem__

View source

__getitem__(key)

add

View source

add(split_info)

Add the split info.

copy

View source

copy()

from_proto

View source

@classmethod
from_proto(
    cls,
    repeated_split_infos
)

Returns a new SplitDict initialized from the repeated_split_infos.

to_proto

View source

to_proto()

Returns a list of SplitInfo protos that we have.

update

View source

update(other)