Class QuantizationInput
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tiems.v20190416.models.QuantizationInput
-
public class QuantizationInput extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LonggetBatchSize()Get 量化批大小StringgetConvertType()Get 转换类型StringgetInputPath()Get 量化输入路径StringgetOutputPath()Get 量化输出路径StringgetPrecision()Get 量化精度,支持:FP32,FP16,INT8voidsetBatchSize(Long BatchSize)Set 量化批大小voidsetConvertType(String ConvertType)Set 转换类型voidsetInputPath(String InputPath)Set 量化输入路径voidsetOutputPath(String OutputPath)Set 量化输出路径voidsetPrecision(String Precision)Set 量化精度,支持:FP32,FP16,INT8voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
QuantizationInput
public QuantizationInput()
-
QuantizationInput
public 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.
-
-
Method Detail
-
getInputPath
public String getInputPath()
Get 量化输入路径- Returns:
- InputPath 量化输入路径
-
setInputPath
public void setInputPath(String InputPath)
Set 量化输入路径- Parameters:
InputPath- 量化输入路径
-
getOutputPath
public String getOutputPath()
Get 量化输出路径- Returns:
- OutputPath 量化输出路径
-
setOutputPath
public void setOutputPath(String OutputPath)
Set 量化输出路径- Parameters:
OutputPath- 量化输出路径
-
getBatchSize
public Long getBatchSize()
Get 量化批大小- Returns:
- BatchSize 量化批大小
-
setBatchSize
public void setBatchSize(Long BatchSize)
Set 量化批大小- Parameters:
BatchSize- 量化批大小
-
getPrecision
public String getPrecision()
Get 量化精度,支持:FP32,FP16,INT8- Returns:
- Precision 量化精度,支持:FP32,FP16,INT8
-
setPrecision
public void setPrecision(String Precision)
Set 量化精度,支持:FP32,FP16,INT8- Parameters:
Precision- 量化精度,支持:FP32,FP16,INT8
-
getConvertType
public String getConvertType()
Get 转换类型- Returns:
- ConvertType 转换类型
-
setConvertType
public void setConvertType(String ConvertType)
Set 转换类型- Parameters:
ConvertType- 转换类型
-
-