public static class Print.Attrs extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Attrs()
Default native constructor.
|
Attrs(long size)
Native array allocator.
|
Attrs(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
first_n_() |
Print.Attrs |
first_n_(long setter) |
Print.Attrs |
FirstN(long x)
Only log
first_n number of times. |
Print.Attrs |
getPointer(long i) |
BytePointer |
message_() |
Print.Attrs |
message_(BytePointer setter) |
Print.Attrs |
Message(BytePointer x)
A string, prefix of the error message.
|
Print.Attrs |
Message(String x) |
Print.Attrs |
position(long position) |
long |
summarize_() |
Print.Attrs |
summarize_(long setter) |
Print.Attrs |
Summarize(long x)
Only print this many entries of each tensor.
|
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 Attrs()
public Attrs(long size)
Pointer.position(long)
.public Attrs(Pointer p)
Pointer(Pointer)
.public Print.Attrs position(long position)
public Print.Attrs getPointer(long i)
getPointer
in class Pointer
@ByVal public Print.Attrs Message(@tensorflow.StringPiece BytePointer x)
@ByVal public Print.Attrs Message(@tensorflow.StringPiece String x)
@ByVal public Print.Attrs FirstN(@Cast(value="tensorflow::int64") long x)
first_n
number of times. -1 disables logging.
Defaults to -1@ByVal public Print.Attrs Summarize(@Cast(value="tensorflow::int64") long x)
@tensorflow.StringPiece public BytePointer message_()
public Print.Attrs message_(BytePointer setter)
public Print.Attrs first_n_(long setter)
public Print.Attrs summarize_(long setter)
Copyright © 2022. All rights reserved.