Have a question? Connect with the community at the TensorFlow Forum Visit Forum

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.