@NoOffset @Properties(inherit=tensorflow.class) public class TFE_Context extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TFE_Context(Pointer p)
Pointer cast constructor.
|
TFE_Context(SessionOptions opts,
int default_device_placement_policy,
Pointer default_mirroring_policy,
boolean async,
DeviceMgr device_mgr,
boolean device_mgr_owned,
Rendezvous rendezvous,
CustomKernelCreator custom_kernel_creator) |
Modifier and Type | Method and Description |
---|---|
EagerContext |
context() |
TFE_Context |
context(EagerContext setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public TFE_Context(Pointer p)
Pointer(Pointer)
.public TFE_Context(@Const @ByRef SessionOptions opts, @Cast(value="TFE_ContextDevicePlacementPolicy") int default_device_placement_policy, @ByVal @Cast(value="TFE_ContextMirroringPolicy*") Pointer default_mirroring_policy, @Cast(value="bool") boolean async, @Const DeviceMgr device_mgr, @Cast(value="bool") boolean device_mgr_owned, Rendezvous rendezvous, @Const CustomKernelCreator custom_kernel_creator)
public EagerContext context()
public TFE_Context context(EagerContext setter)
Copyright © 2022. All rights reserved.