tf.compat.v1.flags.mark_flags_as_required Ensures that flags are not None during program execution.  View aliases  Compat aliases for migration 
See Migration guide for more details. tf.compat.v1.app.flags.mark_flags_as_required  
tf.compat.v1.flags.mark_flags_as_required(
    flag_names, flag_values=_flagvalues.FLAGS
)
 Recommended usage: if name == 'main': flags.mark_flags_as_required(['flag1', 'flag2', 'flag3']) app.run()
 


 Args
  flag_names   Sequence[str], names of the flags.  
  flag_values   flags.FlagValues, optional FlagValues instance where the flags are defined.   
 


 Raises
  AttributeError   If any of flag name has not already been defined as a flag.     

    
{'path': 'public/docs/tensorflow~2.3/compat/v1/flags/mark_flags_as_required.html', 'source': 'DevDocs.IO'}