public class QuantizationInput extends AbstractModel
Constructor and Description |
---|
QuantizationInput() |
QuantizationInput(QuantizationInput source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
Modifier and Type | Method and Description |
---|---|
Long |
getBatchSize()
Get 量化批大小
|
String |
getConvertType()
Get 转换类型
|
String |
getInputPath()
Get 量化输入路径
|
String |
getOutputPath()
Get 量化输出路径
|
String |
getPrecision()
Get 量化精度,支持:FP32,FP16,INT8
|
void |
setBatchSize(Long BatchSize)
Set 量化批大小
|
void |
setConvertType(String ConvertType)
Set 转换类型
|
void |
setInputPath(String InputPath)
Set 量化输入路径
|
void |
setOutputPath(String OutputPath)
Set 量化输出路径
|
void |
setPrecision(String Precision)
Set 量化精度,支持:FP32,FP16,INT8
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public QuantizationInput()
public QuantizationInput(QuantizationInput source)
public String getInputPath()
public void setInputPath(String InputPath)
InputPath
- 量化输入路径public String getOutputPath()
public void setOutputPath(String OutputPath)
OutputPath
- 量化输出路径public Long getBatchSize()
public void setBatchSize(Long BatchSize)
BatchSize
- 量化批大小public String getPrecision()
public void setPrecision(String Precision)
Precision
- 量化精度,支持:FP32,FP16,INT8public String getConvertType()
public void setConvertType(String ConvertType)
ConvertType
- 转换类型Copyright © 2022. All rights reserved.