@Namespace(value="caffe") @NoOffset @Properties(inherit=caffe.class) public class ContrastiveLossParameter extends Message
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Modifier and Type | Field and Description |
---|---|
static int |
kIndexInFileMessages |
static int |
kLegacyVersionFieldNumber |
static int |
kMarginFieldNumber |
kMerge, kMergePartial, kMergePartialWithAliasing, kMergeWithAliasing, kParse, kParsePartial, kParsePartialWithAliasing, kParseWithAliasing
Constructor and Description |
---|
ContrastiveLossParameter() |
ContrastiveLossParameter(ContrastiveLossParameter from) |
ContrastiveLossParameter(long size)
Native array allocator.
|
ContrastiveLossParameter(Pointer p)
Pointer cast constructor.
|
CheckInitialized, CheckTypeAndMergeFrom, DebugString, DiscardUnknownFields, FindInitializationErrors, GetDescriptor, GetReflection, GetTypeName, InitializationErrorString, ParseFromFileDescriptor, ParseFromIstream, ParsePartialFromFileDescriptor, ParsePartialFromIstream, PrintDebugString, SerializePartialToFileDescriptor, SerializePartialToOstream, SerializeToFileDescriptor, SerializeToOstream, ShortDebugString, SpaceUsed, SpaceUsedLong, Utf8DebugString
AppendPartialToString, AppendToString, ByteSize, GetArena, GetMaybeArenaPointer, MergeFromBoundedZeroCopyStream, MergeFromCodedStream, MergeFromString, MergeFromString, MergePartialFromBoundedZeroCopyStream, ParseFromArray, ParseFromBoundedZeroCopyStream, ParseFromCodedStream, ParseFromString, ParseFromString, ParseFromZeroCopyStream, ParsePartialFromArray, ParsePartialFromBoundedZeroCopyStream, ParsePartialFromCodedStream, ParsePartialFromString, ParsePartialFromString, ParsePartialFromZeroCopyStream, SerializeAsString, SerializePartialAsString, SerializePartialToArray, SerializePartialToCodedStream, SerializePartialToString, SerializePartialToZeroCopyStream, SerializeToArray, SerializeToCodedStream, SerializeToString, SerializeToZeroCopyStream, SerializeWithCachedSizesToArray, SerializeWithCachedSizesToArray, SerializeWithCachedSizesToArray
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public static final int kIndexInFileMessages
public static final int kLegacyVersionFieldNumber
public static final int kMarginFieldNumber
public ContrastiveLossParameter(Pointer p)
Pointer(Pointer)
.public ContrastiveLossParameter(long size)
Pointer.position(long)
.public ContrastiveLossParameter()
public ContrastiveLossParameter(@Const @ByRef ContrastiveLossParameter from)
public ContrastiveLossParameter position(long position)
public ContrastiveLossParameter getPointer(long i)
getPointer
in class Pointer
@ByRef @Name(value="operator =") public ContrastiveLossParameter put(@Const @ByRef ContrastiveLossParameter from)
@Const @ByRef public UnknownFieldSet unknown_fields()
public UnknownFieldSet mutable_unknown_fields()
@Const public static Descriptor descriptor()
@Const @ByRef public static ContrastiveLossParameter default_instance()
public static void InitAsDefaultInstance()
@Const public static ContrastiveLossParameter internal_default_instance()
@MemberGetter public static int kIndexInFileMessages()
public void Swap(ContrastiveLossParameter other)
public final ContrastiveLossParameter New()
public final ContrastiveLossParameter New(Arena arena)
public void CopyFrom(@Const @ByRef ContrastiveLossParameter from)
public void MergeFrom(@Const @ByRef ContrastiveLossParameter from)
@Cast(value="bool") public final boolean IsInitialized()
IsInitialized
in class Message
@Cast(value="size_t") public final long ByteSizeLong()
ByteSizeLong
in class Message
@Cast(value="bool") public final boolean MergePartialFromCodedStream(CodedInputStream input)
MergePartialFromCodedStream
in class Message
public final void SerializeWithCachedSizes(CodedOutputStream output)
SerializeWithCachedSizes
in class Message
@Cast(value="google::protobuf::uint8*") public final BytePointer InternalSerializeWithCachedSizesToArray(@Cast(value="google::protobuf::uint8*") BytePointer target)
InternalSerializeWithCachedSizesToArray
in class MessageLite
@Cast(value="google::protobuf::uint8*") public final ByteBuffer InternalSerializeWithCachedSizesToArray(@Cast(value="google::protobuf::uint8*") ByteBuffer target)
InternalSerializeWithCachedSizesToArray
in class MessageLite
@Cast(value="google::protobuf::uint8*") public final byte[] InternalSerializeWithCachedSizesToArray(@Cast(value="google::protobuf::uint8*") byte[] target)
InternalSerializeWithCachedSizesToArray
in class MessageLite
public final int GetCachedSize()
GetCachedSize
in class MessageLite
public void clear_legacy_version()
@MemberGetter public static int kLegacyVersionFieldNumber()
public void clear_margin()
@MemberGetter public static int kMarginFieldNumber()
public float margin()
public void set_margin(float value)
Copyright © 2022. All rights reserved.