org.bytedeco.caffe.FloatBatch Maven / Gradle / Ivy
// Targeted by JavaCPP version 1.5.1: DO NOT EDIT THIS FILE
package org.bytedeco.caffe;
import java.nio.*;
import org.bytedeco.javacpp.*;
import org.bytedeco.javacpp.annotation.*;
import static org.bytedeco.openblas.global.openblas_nolapack.*;
import static org.bytedeco.openblas.global.openblas.*;
import org.bytedeco.opencv.opencv_core.*;
import static org.bytedeco.opencv.global.opencv_core.*;
import org.bytedeco.opencv.opencv_imgproc.*;
import static org.bytedeco.opencv.global.opencv_imgproc.*;
import static org.bytedeco.opencv.global.opencv_imgcodecs.*;
import org.bytedeco.opencv.opencv_videoio.*;
import static org.bytedeco.opencv.global.opencv_videoio.*;
import org.bytedeco.opencv.opencv_highgui.*;
import static org.bytedeco.opencv.global.opencv_highgui.*;
import org.bytedeco.hdf5.*;
import static org.bytedeco.hdf5.global.hdf5.*;
import static org.bytedeco.caffe.global.caffe.*;
@Name("caffe::Batch") @Properties(inherit = org.bytedeco.caffe.presets.caffe.class)
public class FloatBatch extends Pointer {
static { Loader.load(); }
/** Default native constructor. */
public FloatBatch() { super((Pointer)null); allocate(); }
/** Native array allocator. Access with {@link Pointer#position(long)}. */
public FloatBatch(long size) { super((Pointer)null); allocateArray(size); }
/** Pointer cast constructor. Invokes {@link Pointer#Pointer(Pointer)}. */
public FloatBatch(Pointer p) { super(p); }
private native void allocate();
private native void allocateArray(long size);
@Override public FloatBatch position(long position) {
return (FloatBatch)super.position(position);
}
@MemberGetter public native @ByRef FloatBlob data_();
@MemberGetter public native @ByRef FloatBlob label_();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy