docstr: See `OutputLayerBase.export_to_caffe2()`.
docstr_tok: ["See","`","OutputLayerBase.export_to_caffe2","(",")","`","."]
code: def export_to_caffe2(
      self,
      workspace: core.workspace,
      init_net: core.Net,
      predict_net: core.Net,
      model_out: torch.Tensor,
      output_name: str,
  ) -> List[core.BlobReference]:
      """See `OutputLayerBase.export_to_caffe2()`."""
      probability_out = predict_net.Sigmoid(output_name)
      return OutputLayerUtils.gen_additional_blobs(
          predict_net,
          probability_out,
          model_out,
          output_name,
          self.target_names,
      )
  
imports: from typing import Dict, List, Optional, Union
  import torch
  import torch.nn.functional
  from caffe2.python import core
  from pytext.common import Padding
  from pytext.config.component import create_loss
  from pytext.data.utils import Vocabulary
  from pytext.fields import FieldMeta
  from pytext.loss import AUCPRHingeLoss, BinaryCrossEntropyLoss, BinaryCrossEntropyWithLogitsLoss, CrossEntropyLoss, HingeLoss, KLDivergenceBCELoss, KLDivergenceCELoss, LabelSmoothedCrossEntropyLoss, MultiLabelSoftMarginLoss
  from pytext.utils.label import get_custom_or_automatic_label_weights
  from pytext.utils.typing import WeightingMethod
  from torch import jit
  from .output_layer_base import OutputLayerBase
  from .utils import OutputLayerUtils
label_desc: Use image node_id 3 for calling the MultiLabelOutputLayer obj's underlying member method code with example usage: obj.export_to_caffe2(workspace, init_net, predict_net, model_out, output_name) and returns: OutputLayerUtils