Package com.yahoo.config.model.api
Class OnnxModelCost.DisabledOnnxModelCost
java.lang.Object
com.yahoo.config.model.api.OnnxModelCost.DisabledOnnxModelCost
- All Implemented Interfaces:
OnnxModelCost
,OnnxModelCost.Calculator
- Enclosing interface:
- OnnxModelCost
public static class OnnxModelCost.DisabledOnnxModelCost
extends Object
implements OnnxModelCost, OnnxModelCost.Calculator
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.yahoo.config.model.api.OnnxModelCost
OnnxModelCost.Calculator, OnnxModelCost.DisabledOnnxModelCost
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
newCalculator
(ApplicationPackage appPkg, com.yahoo.config.provision.ApplicationId applicationId) void
registerModel
(ApplicationFile path) void
registerModel
(URI uri) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.yahoo.config.model.api.OnnxModelCost
newCalculator
-
Constructor Details
-
DisabledOnnxModelCost
public DisabledOnnxModelCost()
-
-
Method Details
-
newCalculator
public OnnxModelCost.Calculator newCalculator(ApplicationPackage appPkg, com.yahoo.config.provision.ApplicationId applicationId) - Specified by:
newCalculator
in interfaceOnnxModelCost
-
aggregatedModelCostInBytes
public long aggregatedModelCostInBytes()- Specified by:
aggregatedModelCostInBytes
in interfaceOnnxModelCost.Calculator
-
registerModel
- Specified by:
registerModel
in interfaceOnnxModelCost.Calculator
-
registerModel
- Specified by:
registerModel
in interfaceOnnxModelCost.Calculator
-