public class GPUConfig extends AbstractModel
header, skipSign
Constructor and Description |
---|
GPUConfig() |
GPUConfig(GPUConfig 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 |
---|---|
GPUParams |
getGPUParams()
Get GPU相关的参数,包括驱动版本,CUDA版本,cuDNN版本,是否开启MIG以及是否开启Fabric等
注意:此字段可能返回 null,表示取不到有效值。
|
String |
getInstanceType()
Get 机型名称
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setGPUParams(GPUParams GPUParams)
Set GPU相关的参数,包括驱动版本,CUDA版本,cuDNN版本,是否开启MIG以及是否开启Fabric等
注意:此字段可能返回 null,表示取不到有效值。
|
void |
setInstanceType(String InstanceType)
Set 机型名称
注意:此字段可能返回 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, toJsonString
public GPUConfig()
public GPUConfig(GPUConfig source)
public String getInstanceType()
public void setInstanceType(String InstanceType)
InstanceType
- 机型名称
注意:此字段可能返回 null,表示取不到有效值。public GPUParams getGPUParams()
public void setGPUParams(GPUParams GPUParams)
GPUParams
- GPU相关的参数,包括驱动版本,CUDA版本,cuDNN版本,是否开启MIG以及是否开启Fabric等
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.