@Name(value="caffe::MemoryDataLayer<double>") @NoOffset @Properties(inherit=caffe.class) public class DoubleMemoryDataLayer extends DoubleBaseDataLayer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
DoubleMemoryDataLayer(LayerParameter param) |
DoubleMemoryDataLayer(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
AddDatumVector(DatumVector datum_vector) |
void |
AddMatVector(org.bytedeco.opencv.opencv_core.MatVector mat_vector,
IntPointer labels) |
int |
batch_size() |
int |
channels() |
void |
DataLayerSetUp(DoubleBlobVector bottom,
DoubleBlobVector top) |
int |
ExactNumBottomBlobs()
\brief Returns the exact number of bottom blobs required by the layer,
or -1 if no exact number is required.
|
int |
ExactNumTopBlobs()
\brief Returns the exact number of top blobs required by the layer,
or -1 if no exact number is required.
|
protected void |
Forward_cpu(DoubleBlobVector bottom,
DoubleBlobVector top) |
int |
height() |
void |
Reset(double[] data,
double[] label,
int n) |
void |
Reset(DoubleBuffer data,
DoubleBuffer label,
int n) |
void |
Reset(DoublePointer data,
DoublePointer label,
int n) |
void |
set_batch_size(int new_size) |
BytePointer |
type()
\brief Returns the layer type.
|
int |
width() |
Backward_cpu, Backward_gpu, LayerSetUp, Reshape
AllowForceBackward, AutoTopBlobs, Backward, blobs, CheckBlobCounts, EqualNumBottomTopBlobs, Forward_gpu, Forward, layer_param, loss, MaxBottomBlobs, MaxTopBlobs, MinBottomBlobs, MinTopBlobs, param_propagate_down, set_loss, set_param_propagate_down, SetUp, ToProto
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public DoubleMemoryDataLayer(Pointer p)
Pointer(Pointer)
.public DoubleMemoryDataLayer(@Const @ByRef LayerParameter param)
@Virtual public void DataLayerSetUp(@Const @ByRef DoubleBlobVector bottom, @Const @ByRef DoubleBlobVector top)
DataLayerSetUp
in class DoubleBaseDataLayer
@Virtual @Const(value={false,false,true}) @Cast(value="const char*") public BytePointer type()
DoubleLayer
type
in class DoubleLayer
@Virtual @Const(value={false,false,true}) public int ExactNumBottomBlobs()
DoubleLayer
ExactNumBottomBlobs
in class DoubleLayer
@Virtual @Const(value={false,false,true}) public int ExactNumTopBlobs()
DoubleLayer
ExactNumTopBlobs
in class DoubleLayer
@Virtual public void AddDatumVector(@Const @ByRef DatumVector datum_vector)
@Virtual public void AddMatVector(@Const @ByRef org.bytedeco.opencv.opencv_core.MatVector mat_vector, @Cast(value={"int*","const std::vector<int>&"}) @StdVector IntPointer labels)
public void Reset(DoublePointer data, DoublePointer label, int n)
public void Reset(DoubleBuffer data, DoubleBuffer label, int n)
public void Reset(double[] data, double[] label, int n)
public void set_batch_size(int new_size)
public int batch_size()
public int channels()
public int height()
public int width()
@Virtual protected void Forward_cpu(@Const @ByRef DoubleBlobVector bottom, @Const @ByRef DoubleBlobVector top)
Forward_cpu
in class DoubleLayer
Copyright © 2022. All rights reserved.