Class TFE_CustomDevice
java.lang.Object
org.bytedeco.javacpp.Pointer
org.tensorflow.internal.c_api.TFE_CustomDevice
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic classstatic classNested classes/interfaces inherited from class Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter -
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionDefault native constructor.TFE_CustomDevice(long size) Native array allocator.Pointer cast constructor. -
Method Summary
Modifier and TypeMethodDescriptioncopy_tensor_from_device(TFE_CustomDevice.Copy_tensor_from_device_TFE_Context_TFE_TensorHandle_BytePointer_TF_Status_Pointer setter) copy_tensor_to_device(TFE_CustomDevice.Copy_tensor_to_device_TFE_Context_TFE_TensorHandle_TF_Status_Pointer setter) execute()getPointer(long i) pack()position(long position) intversion()version(int setter) Methods inherited from class Pointer
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
-
Constructor Details
-
TFE_CustomDevice
public TFE_CustomDevice()Default native constructor. -
TFE_CustomDevice
public TFE_CustomDevice(long size) Native array allocator. Access withPointer.position(long). -
TFE_CustomDevice
Pointer cast constructor. InvokesPointer(Pointer).
-
-
Method Details
-
position
-
getPointer
- Overrides:
getPointerin classPointer
-
version
public int version() -
version
-
copy_tensor_to_device
public TFE_CustomDevice.Copy_tensor_to_device_TFE_Context_TFE_TensorHandle_TF_Status_Pointer copy_tensor_to_device() -
copy_tensor_to_device
public TFE_CustomDevice copy_tensor_to_device(TFE_CustomDevice.Copy_tensor_to_device_TFE_Context_TFE_TensorHandle_TF_Status_Pointer setter) -
copy_tensor_from_device
public TFE_CustomDevice.Copy_tensor_from_device_TFE_Context_TFE_TensorHandle_BytePointer_TF_Status_Pointer copy_tensor_from_device() -
copy_tensor_from_device
public TFE_CustomDevice copy_tensor_from_device(TFE_CustomDevice.Copy_tensor_from_device_TFE_Context_TFE_TensorHandle_BytePointer_TF_Status_Pointer setter) -
execute
-
execute
public TFE_CustomDevice execute(TFE_CustomDevice.Execute_TFE_Op_IntPointer_PointerPointer_TF_Status_Pointer setter) -
delete_device
-
delete_device
-
pack
-
pack
-
shall_pin_to_this_device
-
shall_pin_to_this_device
public TFE_CustomDevice shall_pin_to_this_device(TFE_CustomDevice.Shall_pin_to_this_device_TFE_Op_TF_Status setter)
-