class_docstr: FCOSLoss of Consistency Regularization
code: def encode_bbox(self, bbox, points):
      assert (
          bbox.shape[0] == points.shape[0]
      ), "When encoding bbox in one image, the num of bbox should be same with points."
      bbox_encoding = paddle.stack(
          [
              points[:, 0] - bbox[:, 0],
              points[:, 1] - bbox[:, 1],
              bbox[:, 2] - points[:, 0],
              bbox[:, 3] - points[:, 1],
          ],
          axis=1,
      )
      return bbox_encoding
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import paddle
  import paddle.nn
  import paddle.nn.functional
  from ppdet.core.workspace import register
  from ppdet.modeling import ops
  from functools import partial
label_desc: Use image node_id 7 for calling the FCOSLossCR obj's underlying member method code with example usage: obj.encode_bbox(bbox, points) and returns: bbox_encoding