@Namespace(value="tensorflow") @NoOffset @Properties(inherit=tensorflow.class) public class ResourceHandle extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ResourceHandle() |
ResourceHandle(long size)
Native array allocator.
|
ResourceHandle(Pointer p)
Pointer cast constructor.
|
ResourceHandle(ResourceHandleProto proto) |
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 ResourceHandle(Pointer p)
Pointer(Pointer)
.public ResourceHandle(long size)
Pointer.position(long)
.public ResourceHandle()
public ResourceHandle(@Const @ByRef ResourceHandleProto proto)
public ResourceHandle position(long position)
public ResourceHandle getPointer(long i)
getPointer
in class Pointer
@StdString public BytePointer device()
public void set_device(@StdString BytePointer device)
public void set_device(@StdString String device)
@StdString public BytePointer container()
public void set_container(@StdString BytePointer container)
public void set_container(@StdString String container)
@StdString public BytePointer name()
public void set_name(@StdString BytePointer name)
public void set_name(@StdString String name)
@StdString public BytePointer maybe_type_name()
public void set_maybe_type_name(@StdString BytePointer value)
public void set_maybe_type_name(@StdString String value)
@StdVector public DtypeAndPartialTensorShape dtypes_and_shapes()
public void set_dtypes_and_shapes(@StdVector DtypeAndPartialTensorShape dtypes_and_shapes)
public void AsProto(ResourceHandleProto proto)
public void FromProto(@Const @ByRef ResourceHandleProto proto)
@StdString public BytePointer SerializeAsString()
@Cast(value="bool") public boolean ParseFromString(@StdString BytePointer s)
@Cast(value="bool") public boolean ParseFromString(@StdString String s)
@StdString public BytePointer DebugString()
@MemberGetter @Cast(value="const char*") public static BytePointer ANONYMOUS_NAME()
@StdString public BytePointer device_()
public ResourceHandle device_(BytePointer setter)
@StdString public BytePointer container_()
public ResourceHandle container_(BytePointer setter)
@StdString public BytePointer name_()
public ResourceHandle name_(BytePointer setter)
public ResourceHandle hash_code_(long setter)
@StdString public BytePointer maybe_type_name_()
public ResourceHandle maybe_type_name_(BytePointer setter)
@StdVector public DtypeAndPartialTensorShape dtypes_and_shapes_()
public ResourceHandle dtypes_and_shapes_(DtypeAndPartialTensorShape setter)
Copyright © 2022. All rights reserved.