Searched refs:property_val (Results 1 – 1 of 1) sorted by relevance
/external/tensorflow/tensorflow/python/debug/cli/ |
D | cli_config.py | 57 def set(self, property_name, property_val): argument 76 if isinstance(property_val, str): 77 if property_val.lower() in ("1", "true", "t", "yes", "y", "on"): 78 property_val = True 79 elif property_val.lower() in ("0", "false", "f", "no", "n", "off"): 80 property_val = False 83 "Invalid string value for bool type: %s" % property_val) 85 property_val = bool(property_val) 87 property_val = int(property_val) 89 property_val = str(property_val) [all …]
|