Interface ShrinkingTensor

All Known Implementing Classes:
ShrinkingMatrix, ShrinkingVector

public interface ShrinkingTensor
An interface which tags a Tensor with a convertToDense method.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final double
    The tolerance below which the scale factor is applied to the stored values and reset to 1.0.
  • Method Summary

    Modifier and Type
    Method
    Description
    Converts the tensor into a dense tensor.
  • Field Details

    • tolerance

      static final double tolerance
      The tolerance below which the scale factor is applied to the stored values and reset to 1.0.
      See Also:
  • Method Details

    • convertToDense

      Tensor convertToDense()
      Converts the tensor into a dense tensor.
      Returns:
      A dense tensor copy of this shrinking tensor.