public static class tensorflow.StringLength.Attrs extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| 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 |
|---|---|
tensorflow.StringLength.Attrs |
position(long position) |
BytePointer |
unit_() |
tensorflow.StringLength.Attrs |
unit_(BytePointer unit_) |
tensorflow.StringLength.Attrs |
Unit(BytePointer x)
The unit that is counted to compute string length.
|
tensorflow.StringLength.Attrs |
Unit(String x) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic Attrs()
public Attrs(long size)
Pointer.position(long).public Attrs(Pointer p)
Pointer.Pointer(Pointer).public tensorflow.StringLength.Attrs position(long position)
@ByVal public tensorflow.StringLength.Attrs Unit(@tensorflow.StringPiece BytePointer x)
"BYTE" (for
the number of bytes in each string) or "UTF8_CHAR" (for the number of UTF-8
encoded Unicode code points in each string). Results are undefined
if unit=UTF8_CHAR and the input strings do not contain structurally
valid UTF-8.
Defaults to "BYTE"@ByVal public tensorflow.StringLength.Attrs Unit(@tensorflow.StringPiece String x)
@tensorflow.StringPiece public BytePointer unit_()
public tensorflow.StringLength.Attrs unit_(BytePointer unit_)
Copyright © 2019. All rights reserved.