tfds.core.SplitDict

Split info object.

total_num_examples Return the total number of examples.

Methods

from_proto

View source

Returns a new SplitDict initialized from the repeated_split_infos.

merge_multiple

View source

to_proto

View source

Returns a list of SplitInfo protos that we have.

update

View source

D.update([E, ]**F) -> None. Update D from dict/iterable E and F. If E is present and has a .keys() method, then does: for k in E: D[k] = E[k] If E is present and lacks a .keys() method, then does: for k, v in E: D[k] = v In either case, this is followed by: for k in F: D[k] = F[k]

__getitem__

View source

x.getitem(y) <==> x[y]