Searched refs:padding_needed (Results 1 – 7 of 7) sorted by relevance
45 const int64 padding_needed = in GetWindowedOutputSize() local50 dim.pad_before = padding_needed / 2; in GetWindowedOutputSize()51 dim.pad_after = padding_needed - dim.pad_before; in GetWindowedOutputSize()
47 const int64 padding_needed = in GetWindowedOutputSizeVerboseV2() local52 *padding_before = padding_needed / 2; in GetWindowedOutputSizeVerboseV2()53 *padding_after = padding_needed - *padding_before; in GetWindowedOutputSizeVerboseV2()
118 HloOp padding_needed = Maximum( in GetWindowedOutputSize() local121 HloOp padding_before = padding_needed / ConstantR0<int32>(comp, 2); in GetWindowedOutputSize()
2223 padding_needed = padded_size - len(vbmeta_blob)2224 output.write(b'\0' * padding_needed)2969 padding_needed = padded_size - len(vbmeta_blob)2970 output.write(b'\0' * padding_needed)3280 padding_needed = image.block_size - (image.image_size%image.block_size)3281 image.truncate(image.image_size + padding_needed)3288 padding_needed = (round_to_multiple(len(vbmeta_blob), image.block_size) -3290 vbmeta_blob_with_padding = vbmeta_blob + b'\0' * padding_needed3481 padding_needed = image.block_size - (3483 image.truncate(image.image_size + padding_needed)[all …]
1834 padding_needed = padded_size - total_image_size1835 output.write('\0' * padding_needed)