tff.structure.name_to_index_map

Returns map from names in structure to their indices.

structure An instance of Struct.

Mapping from names in structure to their indices.