Class OnnxSparseTensor.CSRCTensor

    • Constructor Detail

      • CSRCTensor

        public CSRCTensor​(java.nio.LongBuffer outerIndices,
                          java.nio.LongBuffer innerIndices,
                          java.nio.Buffer values,
                          long[] denseShape,
                          OnnxJavaType type,
                          long numNonZero)
        Creates a CSRC sparse tensor suitable for constructing an ORT Sparse Tensor.
        Parameters:
        outerIndices - The outer indices.
        innerIndices - The inner indices.
        values - The data.
        denseShape - The dense shape.
        type - The data type.
        numNonZero - The number of non-zero elements.