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

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.