ai.djl.mxnet.jna.LibFeature Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mxnet-engine Show documentation
Show all versions of mxnet-engine Show documentation
Deep Java Library (DJL) Engine Adapter for Apache MXNet
The newest version!
package ai.djl.mxnet.jna;
import com.sun.jna.Pointer;
import com.sun.jna.Structure;
import java.util.Arrays;
import java.util.List;
public class LibFeature extends Structure {
public String name;
public byte enabled;
public LibFeature() {
}
public LibFeature(Pointer peer) {
super(peer);
}
@Override
protected List getFieldOrder() {
return Arrays.asList("name", "enabled");
}
public void setName(String name) {
this.name = name;
}
public String getName() {
return name;
}
public void setEnabled(byte enabled) {
this.enabled = enabled;
}
public byte getEnabled() {
return enabled;
}
public static final class ByReference extends LibFeature implements Structure.ByReference {}
public static final class ByValue extends LibFeature implements Structure.ByValue {}
}