@Name(value="caffe::BasePrefetchingDataLayer<float>") @NoOffset @Properties(inherit=caffe.class) public class FloatBasePrefetchingDataLayer extends FloatBaseDataLayer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
FloatBasePrefetchingDataLayer(LayerParameter param) |
FloatBasePrefetchingDataLayer(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
InternalThread |
asInternalThread() |
static InternalThread |
asInternalThread(FloatBasePrefetchingDataLayer pointer) |
void |
Forward_cpu(FloatBlobVector bottom,
FloatBlobVector top) |
void |
Forward_gpu(FloatBlobVector bottom,
FloatBlobVector top) |
void |
LayerSetUp(FloatBlobVector bottom,
FloatBlobVector top)
\brief Does layer-specific setup: your layer should implement this function
as well as Reshape.
|
protected void |
load_batch(FloatBatch batch) |
Backward_cpu, Backward_gpu, DataLayerSetUp, ReshapeAllowForceBackward, AutoTopBlobs, Backward, blobs, CheckBlobCounts, EqualNumBottomTopBlobs, ExactNumBottomBlobs, ExactNumTopBlobs, Forward, layer_param, loss, MaxBottomBlobs, MaxTopBlobs, MinBottomBlobs, MinTopBlobs, param_propagate_down, set_loss, set_param_propagate_down, SetUp, ToProto, typeaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic FloatBasePrefetchingDataLayer(Pointer p)
Pointer(Pointer).public FloatBasePrefetchingDataLayer(@Const @ByRef LayerParameter param)
public InternalThread asInternalThread()
@Namespace @Name(value="static_cast<caffe::InternalThread*>") public static InternalThread asInternalThread(FloatBasePrefetchingDataLayer pointer)
public void LayerSetUp(@Const @ByRef FloatBlobVector bottom, @Const @ByRef FloatBlobVector top)
FloatLayerLayerSetUp in class FloatBaseDataLayerbottom - the preshaped input blobs, whose data fields store the input data for
this layertop - the allocated but unshaped output blobs
This method should do one-time layer specific setup. This includes reading
and processing relevent parameters from the layer_param_.
Setting up the shapes of top blobs and internal buffers should be done in
Reshape, which will be called before the forward pass to
adjust the top blob sizes.@Virtual public void Forward_cpu(@Const @ByRef FloatBlobVector bottom, @Const @ByRef FloatBlobVector top)
Forward_cpu in class FloatLayer@Virtual public void Forward_gpu(@Const @ByRef FloatBlobVector bottom, @Const @ByRef FloatBlobVector top)
Forward_gpu in class FloatLayer@Virtual(value=true) protected void load_batch(FloatBatch batch)
Copyright © 2022. All rights reserved.