public class EstimatorBitsetMM extends SparsityEstimator
| Modifier and Type | Class and Description |
|---|---|
static class |
EstimatorBitsetMM.BitsetMatrix |
static class |
EstimatorBitsetMM.BitsetMatrix1
This class represents a boolean matrix and provides key operations.
|
static class |
EstimatorBitsetMM.BitsetMatrix2 |
SparsityEstimator.OpCodeMIN_PAR_THRESHOLD, MULTI_THREADED_BUILD, MULTI_THREADED_ESTIM| Constructor and Description |
|---|
EstimatorBitsetMM() |
| Modifier and Type | Method and Description |
|---|---|
static EstimatorBitsetMM.BitsetMatrix |
createBitset(int m,
int n) |
static EstimatorBitsetMM.BitsetMatrix |
createBitset(MatrixBlock in) |
double |
estim(MatrixBlock m1,
MatrixBlock m2)
Estimates the output sparsity for a single matrix multiplication.
|
double |
estim(MatrixBlock m1,
MatrixBlock m2,
SparsityEstimator.OpCode op)
Estimates the output sparsity for a given binary operation.
|
double |
estim(MatrixBlock m,
SparsityEstimator.OpCode op)
Estimates the output sparsity for a given unary operation.
|
DataCharacteristics |
estim(MMNode root)
Estimates the output sparsity of a DAG of matrix multiplications
for the given operator graph of a single root node.
|
public DataCharacteristics estim(MMNode root)
SparsityEstimatorestim in class SparsityEstimatorroot - DAG root nodepublic double estim(MatrixBlock m1, MatrixBlock m2)
SparsityEstimatorestim in class SparsityEstimatorm1 - left-hand-side operandm2 - right-hand-side operandpublic double estim(MatrixBlock m1, MatrixBlock m2, SparsityEstimator.OpCode op)
SparsityEstimatorestim in class SparsityEstimatorm1 - left-hand-side operandm2 - right-hand-side operandop - operator codepublic double estim(MatrixBlock m, SparsityEstimator.OpCode op)
SparsityEstimatorestim in class SparsityEstimatorm - left-hand-side operandop - operator codepublic static EstimatorBitsetMM.BitsetMatrix createBitset(int m, int n)
public static EstimatorBitsetMM.BitsetMatrix createBitset(MatrixBlock in)
Copyright © 2021 The Apache Software Foundation. All rights reserved.