Searched refs:FlagRequirement (Results 1 – 1 of 1) sorted by relevance
206 enum class FlagRequirement { enum216 FlagRequirement requirement) { in EnforceFlagRequirement()217 if (requirement == FlagRequirement::kMustBeSpecified) { in EnforceFlagRequirement()220 if (requirement == FlagRequirement::kMustNotBeSpecified) { in EnforceFlagRequirement()231 FlagRequirement requirement) { in GetFlagValue()233 if (requirement == FlagRequirement::kUseDefault) return flag.default_value(); in GetFlagValue()266 PARSE_TOCO_FLAG(FileFormat, input_format, FlagRequirement::kUseDefault); in ReadTocoFlagsFromCommandLineFlags()267 PARSE_TOCO_FLAG(FileFormat, output_format, FlagRequirement::kUseDefault); in ReadTocoFlagsFromCommandLineFlags()268 PARSE_TOCO_FLAG(IODataType, inference_type, FlagRequirement::kNone); in ReadTocoFlagsFromCommandLineFlags()269 PARSE_TOCO_FLAG(IODataType, inference_input_type, FlagRequirement::kNone); in ReadTocoFlagsFromCommandLineFlags()[all …]