Using pm.DensityDist and customized likelihood with a black-box function

  • No, gradient information is not available using @as_op
  • Yes, using a Normal likelihood with constant sigma (ie, not a latent variable) is the same as L2 regularization,