ai.djl.mxnet.jna.OtherOptionSpace 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
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 OtherOptionSpace extends Structure {
public OtherOptionEntity.ByReference entities;
public int entities_size;
public OtherOptionSpace() {
}
public OtherOptionSpace(Pointer peer) {
super(peer);
}
@Override
protected List getFieldOrder() {
return Arrays.asList("entities", "entities_size");
}
public void setEntities(OtherOptionEntity.ByReference entities) {
this.entities = entities;
}
public OtherOptionEntity.ByReference getEntities() {
return entities;
}
public void setEntitiesSize(int entities_size) {
this.entities_size = entities_size;
}
public int getEntitiesSize() {
return entities_size;
}
public static final class ByReference extends OtherOptionSpace implements Structure.ByReference {}
public static final class ByValue extends OtherOptionSpace implements Structure.ByValue {}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy