Searched refs:chunk_size_ub (Results 1 – 1 of 1) sorted by relevance
133 const size_t chunk_size_ub = chunk_size_limit > 0 in WrapStringTensorAsEvents() local143 if (StringValMaxBytesInProto(strs[i]) > chunk_size_ub) { in WrapStringTensorAsEvents()147 " does not fit gRPC message size limit (", chunk_size_ub, ")"); in WrapStringTensorAsEvents()149 if (chunk_size + StringValMaxBytesInProto(strs[i]) > chunk_size_ub) { in WrapStringTensorAsEvents()203 const size_t chunk_size_ub = in WrapTensorAsEvents() local208 : (total_length + chunk_size_ub - 1) / chunk_size_ub; in WrapTensorAsEvents()210 const size_t pos = i * chunk_size_ub; in WrapTensorAsEvents()212 (i == num_chunks - 1) ? (total_length - pos) : chunk_size_ub; in WrapTensorAsEvents()