com.aliyun.odps.ml.ModelResource Maven / Gradle / Ivy
package com.aliyun.odps.ml;
import com.alibaba.fastjson.annotation.JSONField;
/**
* ModelResource表示在线模型使用的资源
*
* @author [email protected]
*/
public class ModelResource {
public long getCpu() {
return cpu;
}
public void setCpu(long cpu) {
this.cpu = cpu;
}
@JSONField(name="mem")
public long getMemory() {
return memory;
}
@JSONField(name="mem")
public void setMemory(long memory) {
this.memory = memory;
}
private long cpu;
private long memory;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy