src/transformers/models/layoutlmv3/modeling_layoutlmv3.py/LayoutLMv3Model/calculate_visual_bbox
class LayoutLMv3Model:    def calculate_visual_bbox(self, device, dtype, batch_size):
        visual_bbox = self.visual_bbox.repeat(batch_size, 1, 1)
        visual_bbox = visual_bbox.to(device).type(dtype)
        return visual_bbox