code: def bias_init_with_prob(prior_prob: float) -> float:
      """initialize conv/fc bias value according to a given probability value."""
      bias_init = float(-np.log((1 - prior_prob) / prior_prob))
      return bias_init
  
imports: import copy
  import numpy
  import paddle
  import paddle.nn
  import paddle.nn.functional
  from ppdet.core.workspace import register
  import paddle.distributed
  from ..transformers.petr_transformer import inverse_sigmoid, masked_fill
  from ..initializer import constant_, normal_
  from functools import partial
label_desc: Use image node_id 1 for calling a global function with example usage: bias_init_with_prob(prior_prob) and returns: bias_init