@Name(value="caffe::InfogainLossLayer<double>") @NoOffset @Properties(inherit=caffe.class) public class DoubleInfogainLossLayer extends DoubleLossLayer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
DoubleInfogainLossLayer(LayerParameter param) |
DoubleInfogainLossLayer(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
Backward_cpu(DoubleBlobVector top,
BoolVector propagate_down,
DoubleBlobVector bottom) |
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) |
protected double |
get_normalizer(int normalization_mode,
int valid_count) |
void |
LayerSetUp(DoubleBlobVector bottom,
DoubleBlobVector top)
\brief Does layer-specific setup: your layer should implement this function
as well as Reshape.
|
int |
MaxBottomBlobs()
\brief Returns the maximum number of bottom blobs required by the layer,
or -1 if no maximum number is required.
|
int |
MaxTopBlobs()
\brief Returns the maximum number of top blobs required by the layer,
or -1 if no maximum number is required.
|
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 void |
sum_rows_of_H(DoubleBlob H) |
BytePointer |
type()
\brief Returns the layer type.
|
AllowForceBackward, AutoTopBlobsBackward_gpu, Backward, blobs, CheckBlobCounts, EqualNumBottomTopBlobs, Forward_gpu, Forward, layer_param, loss, param_propagate_down, set_loss, set_param_propagate_down, SetUp, ToProtoaddress, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getPointer, getPointer, getPointer, getPointer, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zeropublic DoubleInfogainLossLayer(Pointer p)
Pointer.Pointer(Pointer).public DoubleInfogainLossLayer(@Const @ByRef LayerParameter param)
@Virtual public void LayerSetUp(@Const @ByRef DoubleBlobVector bottom, @Const @ByRef DoubleBlobVector top)
DoubleLayerLayerSetUp in class DoubleLossLayerbottom - 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)
DoubleLayerReshape in class DoubleLossLayerbottom - 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()
DoubleLayerExactNumBottomBlobs in class DoubleLossLayer@Virtual @Const(value={false,false,true}) public int MinBottomBlobs()
DoubleLayerMinBottomBlobs in class DoubleLayer@Virtual @Const(value={false,false,true}) public int MaxBottomBlobs()
DoubleLayerMaxBottomBlobs in class DoubleLayer@Virtual @Const(value={false,false,true}) public int ExactNumTopBlobs()
DoubleLayerExactNumTopBlobs in class DoubleLossLayer@Virtual @Const(value={false,false,true}) public int MinTopBlobs()
DoubleLayerMinTopBlobs in class DoubleLayer@Virtual @Const(value={false,false,true}) public int MaxTopBlobs()
DoubleLayerMaxTopBlobs in class DoubleLayer@Virtual @Const(value={false,false,true}) @Cast(value="const char*") public BytePointer type()
DoubleLayertype in class DoubleLayer@Virtual protected void Forward_cpu(@Const @ByRef DoubleBlobVector bottom, @Const @ByRef DoubleBlobVector top)
Forward_cpu in class DoubleLayer@Virtual protected void Backward_cpu(@Const @ByRef DoubleBlobVector top, @Const @ByRef BoolVector propagate_down, @Const @ByRef DoubleBlobVector bottom)
Backward_cpu in class DoubleLayer@Virtual protected double get_normalizer(@Cast(value="caffe::LossParameter_NormalizationMode") int normalization_mode, int valid_count)
@Virtual protected void sum_rows_of_H(@Const DoubleBlob H)
Copyright © 2020. All rights reserved.