Package org.apache.sysds.hops.cost
Class ComputeCost
- java.lang.Object
-
- org.apache.sysds.hops.cost.ComputeCost
-
public class ComputeCost extends Object
Class with methods estimating compute costs of operations.
-
-
Constructor Summary
Constructors Constructor Description ComputeCost()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static double
getHOPComputeCost(Hop currentHop)
Get compute cost for given HOP based on the number of floating point operations per output cell and the total number of output cells.
-
-
-
Method Detail
-
getHOPComputeCost
public static double getHOPComputeCost(Hop currentHop)
Get compute cost for given HOP based on the number of floating point operations per output cell and the total number of output cells.- Parameters:
currentHop
- for which compute cost is returned- Returns:
- compute cost of currentHop as number of floating point operations
-
-