@Name(value="caffe::MultinomialLogisticLossLayer<float>") @Properties(inherit=caffe.class) public class FloatMultinomialLogisticLossLayer extends FloatLossLayer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
FloatMultinomialLogisticLossLayer(LayerParameter param) |
FloatMultinomialLogisticLossLayer(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
Backward_cpu(FloatBlobVector top,
BoolVector propagate_down,
FloatBlobVector bottom) |
protected void |
Forward_cpu(FloatBlobVector bottom,
FloatBlobVector top) |
void |
Reshape(FloatBlobVector bottom,
FloatBlobVector top)
\brief Adjust the shapes of top blobs and internal buffers to accommodate
the shapes of the bottom blobs.
|
BytePointer |
type()
\brief Returns the layer type.
|
AllowForceBackward, AutoTopBlobs, ExactNumBottomBlobs, ExactNumTopBlobs, LayerSetUpBackward_gpu, Backward, blobs, CheckBlobCounts, EqualNumBottomTopBlobs, Forward_gpu, Forward, layer_param, loss, MaxBottomBlobs, MaxTopBlobs, MinBottomBlobs, MinTopBlobs, 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, 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, zeropublic FloatMultinomialLogisticLossLayer(Pointer p)
Pointer(Pointer).public FloatMultinomialLogisticLossLayer(@Const @ByRef LayerParameter param)
@Virtual public void Reshape(@Const @ByRef FloatBlobVector bottom, @Const @ByRef FloatBlobVector top)
FloatLayerReshape in class FloatLossLayerbottom - 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}) @Cast(value="const char*") public BytePointer type()
FloatLayertype in class FloatLayer@Virtual protected void Forward_cpu(@Const @ByRef FloatBlobVector bottom, @Const @ByRef FloatBlobVector top)
Forward_cpu in class FloatLayer@Virtual protected void Backward_cpu(@Const @ByRef FloatBlobVector top, @Const @ByRef BoolVector propagate_down, @Const @ByRef FloatBlobVector bottom)
Backward_cpu in class FloatLayerCopyright © 2022. All rights reserved.