java.lang.Object
qupath.bioimageio.spec.tensor.BaseTensor
qupath.bioimageio.spec.tensor.OutputTensor

public class OutputTensor extends BaseTensor
Model output, including shape, axes, halo, datatype and postprocessing.
  • Constructor Details

    • OutputTensor

      public OutputTensor()
  • Method Details

    • getPostprocessing

      public List<Processing> getPostprocessing()
      Get the post-processing steps for this output tensor.
      Returns:
      The processing steps
    • getHalo

      public int[] getHalo()
      The "halo" that should be cropped from the output tensor to avoid boundary effects. The "halo" is to be cropped from both sides, i.e. `shape_after_crop = shape - 2 * halo`. To document a "halo" that is already cropped by the model `shape.offset` has to be used instead. In 0.5 models, halo is specified on tensor axes, not the tensor itself, but this should hopefully fetch halo from axis objects.
      Returns:
      the halo
    • toString

      public String toString()
      Overrides:
      toString in class Object