Home
last modified time | relevance | path

Searched refs:range_string (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/python/debug/cli/
Dcommand_parser.py243 def parse_ranges(range_string): argument
259 range_string = range_string.strip()
260 if not range_string:
263 if "inf" in range_string:
264 range_string = re.sub(r"inf", repr(sys.float_info.max), range_string)
266 ranges = ast.literal_eval(range_string)
/external/python/apitools/apitools/base/py/
Dtransfer.py964 range_string = 'bytes */%s' % self.total_size
966 range_string = 'bytes %s-%s/%s' % (start, self.total_size - 1,
969 request.headers['Content-Range'] = range_string
1008 range_string = 'bytes %s-%s/*' % (start, end - 1)
1011 range_string = 'bytes */%s' % self.total_size
1014 range_string = 'bytes %s-%s/%s' % (start, end - 1, self.total_size)
1016 request.headers['Content-Range'] = range_string