public class HyperParameter extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| HyperParameter() | 
| HyperParameter(HyperParameter 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 | 
|---|---|
| String | getCpuCachePercentage()Get gpu cache 使用率
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getEnableDistributed()Get 是否开启分布式模式(true/false)
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getGpuCachePercentage()Get cpu cache 使用率
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getLoraScale()Get Stable Diffusion 模型优化参数,控制Lora模型的影响效果
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getMaxNNZ()Get 最大nnz数
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getMinBlockSizePt()Get TORCH_SCRIPT、MMDETECTION、DETECTRON2、HUGGINGFACE格式在进行优化时切分子图的最小算子数目,一般无需进行改动,默认为3
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getMinBlockSizeTf()Get FROZEN_GRAPH、SAVED_MODEL格式在进行优化时切分子图的最小算子数目,一般无需进行改动,默认为10
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getPipelineArgs()Get Stable Diffusion 模型优化参数
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getSlotNum()Get slot数
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setCpuCachePercentage(String CpuCachePercentage)Set gpu cache 使用率
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setEnableDistributed(String EnableDistributed)Set 是否开启分布式模式(true/false)
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setGpuCachePercentage(String GpuCachePercentage)Set cpu cache 使用率
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setLoraScale(String LoraScale)Set Stable Diffusion 模型优化参数,控制Lora模型的影响效果
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setMaxNNZ(String MaxNNZ)Set 最大nnz数
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setMinBlockSizePt(String MinBlockSizePt)Set TORCH_SCRIPT、MMDETECTION、DETECTRON2、HUGGINGFACE格式在进行优化时切分子图的最小算子数目,一般无需进行改动,默认为3
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setMinBlockSizeTf(String MinBlockSizeTf)Set FROZEN_GRAPH、SAVED_MODEL格式在进行优化时切分子图的最小算子数目,一般无需进行改动,默认为10
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setPipelineArgs(String PipelineArgs)Set Stable Diffusion 模型优化参数
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setSlotNum(String SlotNum)Set slot数
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic HyperParameter()
public HyperParameter(HyperParameter source)
public String getMaxNNZ()
public void setMaxNNZ(String MaxNNZ)
MaxNNZ - 最大nnz数
注意:此字段可能返回 null,表示取不到有效值。public String getSlotNum()
public void setSlotNum(String SlotNum)
SlotNum - slot数
注意:此字段可能返回 null,表示取不到有效值。public String getCpuCachePercentage()
public void setCpuCachePercentage(String CpuCachePercentage)
CpuCachePercentage - gpu cache 使用率
注意:此字段可能返回 null,表示取不到有效值。public String getGpuCachePercentage()
public void setGpuCachePercentage(String GpuCachePercentage)
GpuCachePercentage - cpu cache 使用率
注意:此字段可能返回 null,表示取不到有效值。public String getEnableDistributed()
public void setEnableDistributed(String EnableDistributed)
EnableDistributed - 是否开启分布式模式(true/false)
注意:此字段可能返回 null,表示取不到有效值。public String getMinBlockSizePt()
public void setMinBlockSizePt(String MinBlockSizePt)
MinBlockSizePt - TORCH_SCRIPT、MMDETECTION、DETECTRON2、HUGGINGFACE格式在进行优化时切分子图的最小算子数目,一般无需进行改动,默认为3
注意:此字段可能返回 null,表示取不到有效值。public String getMinBlockSizeTf()
public void setMinBlockSizeTf(String MinBlockSizeTf)
MinBlockSizeTf - FROZEN_GRAPH、SAVED_MODEL格式在进行优化时切分子图的最小算子数目,一般无需进行改动,默认为10
注意:此字段可能返回 null,表示取不到有效值。public String getPipelineArgs()
public void setPipelineArgs(String PipelineArgs)
PipelineArgs - Stable Diffusion 模型优化参数
注意:此字段可能返回 null,表示取不到有效值。public String getLoraScale()
public void setLoraScale(String LoraScale)
LoraScale - Stable Diffusion 模型优化参数,控制Lora模型的影响效果
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.