Save the date! Google I/O returns May 18-20 Register now

tff.structure.to_odict

Returns struct as an OrderedDict, if possible.

struct An Struct.
recursive Whether to convert nested Structs recursively.

ValueError If the Struct contains unnamed elements.