@Namespace(value="tensorflow") @NoOffset public static class tensorflow.DeviceBase extends Pointer
| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.DeviceBase.CpuWorkerThreads |
static class |
tensorflow.DeviceBase.GpuDeviceInfo |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
DeviceBase(Pointer p)
Pointer cast constructor.
|
DeviceBase(tensorflow.Env env) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, position, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic DeviceBase(Pointer p)
Pointer.Pointer(Pointer).public DeviceBase(tensorflow.Env env)
public tensorflow.Env env()
@Cast(value="bool") public boolean RequiresRecordingAccessedTensors()
public void set_tensorflow_cpu_worker_threads(tensorflow.DeviceBase.CpuWorkerThreads t)
@Const public tensorflow.DeviceBase.CpuWorkerThreads tensorflow_cpu_worker_threads()
public void set_tensorflow_gpu_device_info(tensorflow.DeviceBase.GpuDeviceInfo g)
@Const public tensorflow.DeviceBase.GpuDeviceInfo tensorflow_gpu_device_info()
public tensorflow.ThreadPool tensorflow_device_thread_pool()
public void set_eigen_cpu_device(tensorflow.ThreadPoolDevice d)
public tensorflow.Allocator GetAllocator(@ByVal tensorflow.AllocatorAttributes arg0)
public tensorflow.Allocator GetStepAllocator(@ByVal tensorflow.AllocatorAttributes attr, tensorflow.ResourceMgr arg1)
public tensorflow.Allocator GetScopedAllocator(@ByVal tensorflow.AllocatorAttributes attr, @Cast(value="tensorflow::int64") long step_id)
public tensorflow.ScopedAllocatorMgr GetScopedAllocatorMgr()
@Const public tensorflow.ThreadPoolDevice eigen_cpu_device()
public tensorflow.PerOpGpuDevice MakeGpuDevice()
public tensorflow.DeviceBase UnderlyingDevice()
@ByVal public tensorflow.Status ReinitializeGpuDevice(tensorflow.OpKernelContext arg0, tensorflow.PerOpGpuDevice arg1, tensorflow.DeviceContext arg2, tensorflow.Allocator arg3)
@Const @ByRef public tensorflow.DeviceAttributes attributes()
@StdString public BytePointer name()
@ByVal public tensorflow.Status MakeTensorFromProto(@Const @ByRef tensorflow.TensorProto tensor_proto, @Const @ByVal tensorflow.AllocatorAttributes alloc_attrs, tensorflow.Tensor tensor)
Copyright © 2019. All rights reserved.