Skip to content

Commit 13842e6

Browse files
authored
[Doc] Update RuntimeOption API docs (#813)
[Android] Update RuntimeOption API docs
1 parent 1921350 commit 13842e6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

java/android/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,8 @@ public class FaceDetectionResult {
349349
public class RuntimeOption {
350350
public void enableLiteFp16(); // 开启fp16精度推理
351351
public void disableLiteFP16(); // 关闭fp16精度推理
352+
public void enableLiteInt8(); // 开启int8精度推理,针对量化模型
353+
public void disableLiteInt8(); // 关闭int8精度推理
352354
public void setCpuThreadNum(int threadNum); // 设置线程数
353355
public void setLitePowerMode(LitePowerMode mode); // 设置能耗模式
354356
public void setLitePowerMode(String modeStr); // 通过字符串形式设置能耗模式

0 commit comments

Comments
 (0)