public static class TensorArray.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 |
---|---|
boolean |
clear_after_read_() |
TensorArray.Attrs |
clear_after_read_(boolean setter) |
TensorArray.Attrs |
ClearAfterRead(boolean x)
If true (default), Tensors in the TensorArray are cleared
after being read.
|
boolean |
dynamic_size_() |
TensorArray.Attrs |
dynamic_size_(boolean setter) |
TensorArray.Attrs |
DynamicSize(boolean x)
A boolean that determines whether writes to the TensorArray
are allowed to grow the size.
|
PartialTensorShape |
element_shape_() |
TensorArray.Attrs |
element_shape_(PartialTensorShape setter) |
TensorArray.Attrs |
ElementShape(PartialTensorShape x)
The expected shape of an element, if known.
|
TensorArray.Attrs |
getPointer(long i) |
boolean |
identical_element_shapes_() |
TensorArray.Attrs |
identical_element_shapes_(boolean setter) |
TensorArray.Attrs |
IdenticalElementShapes(boolean x)
If true (default is false), then all
elements in the TensorArray will be expected to have have identical shapes.
|
TensorArray.Attrs |
position(long position) |
BytePointer |
tensor_array_name_() |
TensorArray.Attrs |
tensor_array_name_(BytePointer setter) |
TensorArray.Attrs |
TensorArrayName(BytePointer x)
Overrides the name used for the temporary tensor_array
resource.
|
TensorArray.Attrs |
TensorArrayName(String x) |
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 TensorArray.Attrs position(long position)
public TensorArray.Attrs getPointer(long i)
getPointer
in class Pointer
@ByVal public TensorArray.Attrs ElementShape(@ByVal PartialTensorShape x)
@ByVal public TensorArray.Attrs DynamicSize(@Cast(value="bool") boolean x)
@ByVal public TensorArray.Attrs ClearAfterRead(@Cast(value="bool") boolean x)
@ByVal public TensorArray.Attrs IdenticalElementShapes(@Cast(value="bool") boolean x)
@ByVal public TensorArray.Attrs TensorArrayName(@tensorflow.StringPiece BytePointer x)
@ByVal public TensorArray.Attrs TensorArrayName(@tensorflow.StringPiece String x)
@ByRef public PartialTensorShape element_shape_()
public TensorArray.Attrs element_shape_(PartialTensorShape setter)
public TensorArray.Attrs dynamic_size_(boolean setter)
public TensorArray.Attrs clear_after_read_(boolean setter)
public TensorArray.Attrs identical_element_shapes_(boolean setter)
@tensorflow.StringPiece public BytePointer tensor_array_name_()
public TensorArray.Attrs tensor_array_name_(BytePointer setter)
Copyright © 2022. All rights reserved.