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

tff.structure.has_field

Returns True if the structure has the field.

structure An instance of Struct.
field A string, the field to test for.