@Name(value="caffe::BaseConvolutionLayer<double>") @NoOffset @Properties(inherit=caffe.class) public class DoubleBaseConvolutionLayer extends DoubleLayer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
DoubleBaseConvolutionLayer(LayerParameter param) |
DoubleBaseConvolutionLayer(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
compute_output_shape() |
boolean |
EqualNumBottomTopBlobs()
\brief Returns true if the layer requires an equal number of bottom and
top blobs.
|
void |
LayerSetUp(DoubleBlobVector bottom,
DoubleBlobVector top)
\brief Does layer-specific setup: your layer should implement this function
as well as Reshape.
|
int |
MinBottomBlobs()
\brief Returns the minimum number of bottom blobs required by the layer,
or -1 if no minimum number is required.
|
int |
MinTopBlobs()
\brief Returns the minimum number of top blobs required by the layer,
or -1 if no minimum number is required.
|
void |
Reshape(DoubleBlobVector bottom,
DoubleBlobVector top)
\brief Adjust the shapes of top blobs and internal buffers to accommodate
the shapes of the bottom blobs.
|
protected boolean |
reverse_dimensions() |
AllowForceBackward, AutoTopBlobs, Backward_cpu, Backward_gpu, Backward, blobs, CheckBlobCounts, ExactNumBottomBlobs, ExactNumTopBlobs, Forward_cpu, Forward_gpu, Forward, layer_param, loss, MaxBottomBlobs, MaxTopBlobs, param_propagate_down, set_loss, set_param_propagate_down, SetUp, ToProto, type
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 DoubleBaseConvolutionLayer(Pointer p)
Pointer(Pointer)
.public DoubleBaseConvolutionLayer(@Const @ByRef LayerParameter param)
@Virtual public void LayerSetUp(@Const @ByRef DoubleBlobVector bottom, @Const @ByRef DoubleBlobVector top)
DoubleLayer
LayerSetUp
in class DoubleLayer
bottom
- 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 Reshape(@Const @ByRef DoubleBlobVector bottom, @Const @ByRef DoubleBlobVector top)
DoubleLayer
Reshape
in class DoubleLayer
bottom
- the input blobs, with the requested input shapestop
- the top blobs, which should be reshaped as needed
This method should reshape top blobs as needed according to the shapes
of the bottom (input) blobs, as well as reshaping any internal buffers
and making any other necessary adjustments so that the layer can
accommodate the bottom blobs.@Virtual @Const(value={false,false,true}) public int MinBottomBlobs()
DoubleLayer
MinBottomBlobs
in class DoubleLayer
@Virtual @Const(value={false,false,true}) public int MinTopBlobs()
DoubleLayer
MinTopBlobs
in class DoubleLayer
@Virtual @Cast(value="bool") @Const(value={false,false,true}) public boolean EqualNumBottomTopBlobs()
DoubleLayer
EqualNumBottomTopBlobs
in class DoubleLayer
Copyright © 2022. All rights reserved.