This repository has been archived on 2025-08-26. You can view files and clone it, but cannot push or open issues or pull requests.
Files
enginex-mr_series-sherpa-onnx/sherpa-onnx/java-api/src/com/k2fsa/sherpa/onnx/EndpointConfig.java

30 lines
630 B
Java
Raw Normal View History

2023-04-15 22:17:28 +08:00
/*
* // Copyright 2022-2023 by zhaoming
*/
package com.k2fsa.sherpa.onnx;
public class EndpointConfig {
2024-02-26 13:49:37 +08:00
private final EndpointRule rule1;
private final EndpointRule rule2;
private final EndpointRule rule3;
2023-04-15 22:17:28 +08:00
2024-02-26 13:49:37 +08:00
public EndpointConfig(EndpointRule rule1, EndpointRule rule2, EndpointRule rule3) {
this.rule1 = rule1;
this.rule2 = rule2;
this.rule3 = rule3;
}
2023-04-15 22:17:28 +08:00
2024-02-26 13:49:37 +08:00
public EndpointRule getRule1() {
return rule1;
}
2023-04-15 22:17:28 +08:00
2024-02-26 13:49:37 +08:00
public EndpointRule getRule2() {
return rule2;
}
2023-04-15 22:17:28 +08:00
2024-02-26 13:49:37 +08:00
public EndpointRule getRule3() {
return rule3;
}
2023-04-15 22:17:28 +08:00
}