Save the date! Google I/O returns May 18-20 Register now

tf.compat.v1.flags.IntegerParser

Parser of an integer value.

Parsed value may be bounded to a given upper and lower bound.

Methods

convert

Returns the int value of argument.

flag_type

See base class.

is_outside_bounds

Returns whether the value is outside the bounds or not.

parse

See base class.

Class Variables

  • number_article = 'an'
  • number_name = 'integer'
  • syntactic_help = 'an integer'