@Properties(inherit=tensorflow.class) public class TFE_ContextOptions extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
TFE_ContextOptions()
Default native constructor.
|
TFE_ContextOptions(long size)
Native array allocator.
|
TFE_ContextOptions(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
async() |
TFE_ContextOptions |
async(boolean setter) |
int |
device_placement_policy() |
TFE_ContextOptions |
device_placement_policy(int setter) |
TFE_ContextOptions |
getPointer(long i) |
Pointer |
mirroring_policy() |
TFE_ContextOptions |
mirroring_policy(Pointer setter) |
TFE_ContextOptions |
position(long position) |
TF_SessionOptions |
session_options() |
TFE_ContextOptions |
session_options(TF_SessionOptions setter) |
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 TFE_ContextOptions()
public TFE_ContextOptions(long size)
Pointer.position(long)
.public TFE_ContextOptions(Pointer p)
Pointer(Pointer)
.public TFE_ContextOptions position(long position)
public TFE_ContextOptions getPointer(long i)
getPointer
in class Pointer
@ByRef public TF_SessionOptions session_options()
public TFE_ContextOptions session_options(TF_SessionOptions setter)
public TFE_ContextOptions async(boolean setter)
@Cast(value="TFE_ContextDevicePlacementPolicy") public int device_placement_policy()
public TFE_ContextOptions device_placement_policy(int setter)
@ByRef @Cast(value="TFE_ContextMirroringPolicy*") public Pointer mirroring_policy()
public TFE_ContextOptions mirroring_policy(Pointer setter)
Copyright © 2022. All rights reserved.