Package org.apache.sysds.hops.cost
Class ComputeCost
java.lang.Object
org.apache.sysds.hops.cost.ComputeCost
Class with methods estimating compute costs of operations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic doublegetHOPComputeCost(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.
-
Constructor Details
-
ComputeCost
public ComputeCost()
-
-
Method Details
-
getHOPComputeCost
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
-