def METHOD_NAME(
    self, point_clouds, bounding_boxes, transformation, **kwargs
):
    original_bounding_boxes_shape = bounding_boxes.get_shape().as_list()
    original_point_clouds_shape = point_clouds.get_shape().as_list()
    point_clouds = transformation[POINT_CLOUDS]
    additional_point_clouds = transformation[ADDITIONAL_POINT_CLOUDS]
    num_frames = original_point_clouds_shape[0]
    point_clouds_list = []
    for frame_index in range(num_frames):
        background_point_clouds = tf.boolean_mask(
            point_clouds[frame_index],
            point_clouds[frame_index, :, POINTCLOUD_LABEL_INDEX] > 0,
            axis=0,
        )
        object_point_clouds = tf.boolean_mask(
            additional_point_clouds[frame_index],
            additional_point_clouds[frame_index, :, POINTCLOUD_LABEL_INDEX]
            > 0,
            axis=0,
        )
        point_clouds_list += [
            tf.concat(
                [object_point_clouds, background_point_clouds], axis=0
            )
        ]
    point_clouds = tf.ragged.stack(point_clouds_list)
    bounding_boxes = tf.RaggedTensor.from_tensor(
        transformation[ADDITIONAL_BOUNDING_BOXES]
    )
    return (
        point_clouds.to_tensor(shape=original_point_clouds_shape),
        bounding_boxes.to_tensor(shape=original_bounding_boxes_shape),
    )