@Name(value="caffe::NeuronLayer<double>") @Properties(inherit=caffe.class) public class DoubleNeuronLayer extends DoubleLayer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
DoubleNeuronLayer(LayerParameter param) |
DoubleNeuronLayer(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
void |
Reshape(DoubleBlobVector bottom,
DoubleBlobVector top)
\brief Adjust the shapes of top blobs and internal buffers to accommodate
the shapes of the bottom blobs.
|
AllowForceBackward, AutoTopBlobs, Backward_cpu, Backward_gpu, Backward, blobs, CheckBlobCounts, EqualNumBottomTopBlobs, Forward_cpu, Forward_gpu, Forward, layer_param, LayerSetUp, loss, MaxBottomBlobs, MaxTopBlobs, MinBottomBlobs, MinTopBlobs, 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 DoubleNeuronLayer(Pointer p)
Pointer(Pointer)
.public DoubleNeuronLayer(@Const @ByRef LayerParameter param)
@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 ExactNumBottomBlobs()
DoubleLayer
ExactNumBottomBlobs
in class DoubleLayer
@Virtual @Const(value={false,false,true}) public int ExactNumTopBlobs()
DoubleLayer
ExactNumTopBlobs
in class DoubleLayer
Copyright © 2022. All rights reserved.