Package com.yahoo.config.model.api
Interface OnnxModelCost
- All Known Implementing Classes:
OnnxModelCost.DisabledOnnxModelCost
public interface OnnxModelCost
- Author:
- bjorncs, hmusum
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static class
static final record
-
Method Summary
Modifier and TypeMethodDescriptionstatic OnnxModelCost
disabled()
default OnnxModelCost.Calculator
newCalculator
(ApplicationPackage appPkg, com.yahoo.config.provision.ApplicationId applicationId) newCalculator
(ApplicationPackage appPkg, com.yahoo.config.provision.ApplicationId applicationId, com.yahoo.config.provision.ClusterSpec.Id clusterId)
-
Method Details
-
newCalculator
default OnnxModelCost.Calculator newCalculator(ApplicationPackage appPkg, com.yahoo.config.provision.ApplicationId applicationId) -
newCalculator
OnnxModelCost.Calculator newCalculator(ApplicationPackage appPkg, com.yahoo.config.provision.ApplicationId applicationId, com.yahoo.config.provision.ClusterSpec.Id clusterId) -
disabled
-