@Name(value="caffe::MemoryDataLayer<float>") @NoOffset @Properties(inherit=caffe.class) public class FloatMemoryDataLayer extends FloatBaseDataLayer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
FloatMemoryDataLayer(LayerParameter param) |
FloatMemoryDataLayer(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(FloatBlobVector bottom,
FloatBlobVector 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(FloatBlobVector bottom,
FloatBlobVector top) |
int |
height() |
void |
Reset(float[] data,
float[] label,
int n) |
void |
Reset(FloatBuffer data,
FloatBuffer label,
int n) |
void |
Reset(FloatPointer data,
FloatPointer 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 FloatMemoryDataLayer(Pointer p)
Pointer(Pointer)
.public FloatMemoryDataLayer(@Const @ByRef LayerParameter param)
@Virtual public void DataLayerSetUp(@Const @ByRef FloatBlobVector bottom, @Const @ByRef FloatBlobVector top)
DataLayerSetUp
in class FloatBaseDataLayer
@Virtual @Const(value={false,false,true}) @Cast(value="const char*") public BytePointer type()
FloatLayer
type
in class FloatLayer
@Virtual @Const(value={false,false,true}) public int ExactNumBottomBlobs()
FloatLayer
ExactNumBottomBlobs
in class FloatLayer
@Virtual @Const(value={false,false,true}) public int ExactNumTopBlobs()
FloatLayer
ExactNumTopBlobs
in class FloatLayer
@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(FloatPointer data, FloatPointer label, int n)
public void Reset(FloatBuffer data, FloatBuffer label, int n)
public void Reset(float[] data, float[] 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 FloatBlobVector bottom, @Const @ByRef FloatBlobVector top)
Forward_cpu
in class FloatLayer
Copyright © 2022. All rights reserved.