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.py1055 range_string = 'bytes */%s' % self.total_size
1057 range_string = 'bytes %s-%s/%s' % (start, self.total_size - 1,
1060 request.headers['Content-Range'] = range_string
1108 range_string = 'bytes %s-%s/*' % (start, end - 1)
1111 range_string = 'bytes */%s' % self.total_size
1114 range_string = 'bytes %s-%s/%s' % (start, end - 1, self.total_size)
1116 request.headers['Content-Range'] = range_string