@Namespace(value="tensorflow") @NoOffset public static class tensorflow.Device extends tensorflow.DeviceBase
tensorflow.DeviceBase.CpuWorkerThreads, tensorflow.DeviceBase.GpuDeviceInfoPointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
Device(Pointer p)
Pointer cast constructor.
|
eigen_cpu_device, env, GetAllocator, GetScopedAllocator, GetScopedAllocatorMgr, GetStepAllocator, has_eigen_cpu_device, MakeGpuDevice, MakeTensorFromProto, ReinitializeGpuDevice, RequiresRecordingAccessedTensors, set_eigen_cpu_device, set_tensorflow_cpu_worker_threads, set_tensorflow_gpu_device_info, tensorflow_cpu_worker_threads, tensorflow_device_thread_pool, tensorflow_gpu_device_info, UnderlyingDeviceaddress, 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 Device(Pointer p)
Pointer.Pointer(Pointer).@StdString public BytePointer name()
name in class tensorflow.DeviceBase@Const @ByRef public tensorflow.DeviceNameUtils.ParsedName parsed_name()
@StdString public BytePointer device_type()
@Const @ByRef public tensorflow.DeviceAttributes attributes()
attributes in class tensorflow.DeviceBasepublic void Compute(tensorflow.OpKernel op_kernel, tensorflow.OpKernelContext context)
public void ComputeAsync(tensorflow.AsyncOpKernel op_kernel, tensorflow.OpKernelContext context, @ByVal @Cast(value="tensorflow::AsyncOpKernel::DoneCallback*") tensorflow.Fn done)
public void ConsumeListOfAccessedTensors(tensorflow.DeviceContext context, @Cast(value="const tensorflow::TensorReferenceVector*") @ByRef tensorflow.AllocatorAttributesVector tensors)
@ByVal public tensorflow.Status Sync()
@ByVal public tensorflow.Status MaybeRewriteGraph(@UniquePtr tensorflow.Graph arg0)
@ByVal public tensorflow.Status FillContextMap(@Const tensorflow.Graph graph, @Cast(value="tensorflow::DeviceContextMap*") tensorflow.DeviceContextVector device_context_map)
public tensorflow.OpSegment op_segment()
public tensorflow.ResourceMgr resource_manager()
public tensorflow.DeviceMgr device_mgr()
@StdString public BytePointer DebugString()
@ByVal public static tensorflow.DeviceAttributes BuildDeviceAttributes(@StdString BytePointer name, @ByVal tensorflow.DeviceType device, @Cast(value="tensorflow::Bytes") long memory_limit, @Const @ByRef tensorflow.DeviceLocality locality, @StdString BytePointer physical_device_desc)
@ByVal public static tensorflow.DeviceAttributes BuildDeviceAttributes(@StdString String name, @ByVal tensorflow.DeviceType device, @Cast(value="tensorflow::Bytes") long memory_limit, @Const @ByRef tensorflow.DeviceLocality locality, @StdString String physical_device_desc)
@ByVal public static tensorflow.DeviceAttributes BuildDeviceAttributes(@StdString BytePointer name, @ByVal tensorflow.DeviceType device, @Cast(value="tensorflow::Bytes") long memory_limit, @Const @ByRef tensorflow.DeviceLocality locality)
@ByVal public static tensorflow.DeviceAttributes BuildDeviceAttributes(@StdString String name, @ByVal tensorflow.DeviceType device, @Cast(value="tensorflow::Bytes") long memory_limit, @Const @ByRef tensorflow.DeviceLocality locality)
public void ClearResourceMgr()
Copyright © 2019. All rights reserved.