@Namespace(value="tensorflow") public static class tensorflow.DeviceNameUtils extends Pointer
| Modifier and Type | Class and Description |
|---|---|
static class |
tensorflow.DeviceNameUtils.ParsedName |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Constructor and Description |
|---|
DeviceNameUtils()
Default native constructor.
|
DeviceNameUtils(long size)
Native array allocator.
|
DeviceNameUtils(Pointer p)
Pointer cast constructor.
|
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, put, realloc, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic DeviceNameUtils()
public DeviceNameUtils(long size)
Pointer.position(long).public DeviceNameUtils(Pointer p)
Pointer.Pointer(Pointer).public tensorflow.DeviceNameUtils position(long position)
@StdString public static BytePointer FullName(@StdString BytePointer job, int replica, int task, @StdString BytePointer type, int id)
@StdString public static String FullName(@StdString String job, int replica, int task, @StdString String type, int id)
@Cast(value="bool") public static boolean ParseFullName(@tensorflow.StringPiece BytePointer fullname, tensorflow.DeviceNameUtils.ParsedName parsed)
@Cast(value="bool") public static boolean ParseFullName(@tensorflow.StringPiece String fullname, tensorflow.DeviceNameUtils.ParsedName parsed)
@ByVal public static tensorflow.Status CanonicalizeDeviceName(@tensorflow.StringPiece BytePointer fullname, @tensorflow.StringPiece BytePointer basename, @StdString @Cast(value={"char*","std::string*"}) BytePointer canonical_name)
@ByVal public static tensorflow.Status CanonicalizeDeviceName(@tensorflow.StringPiece String fullname, @tensorflow.StringPiece String basename, @StdString @Cast(value={"char*","std::string*"}) BytePointer canonical_name)
@Cast(value="bool") public static boolean HasSomeDetails(@Const @ByRef tensorflow.DeviceNameUtils.ParsedName name)
@Cast(value="bool") public static boolean IsSpecification(@Const @ByRef tensorflow.DeviceNameUtils.ParsedName less_specific, @Const @ByRef tensorflow.DeviceNameUtils.ParsedName more_specific)
@Cast(value="bool") public static boolean IsCompleteSpecification(@Const @ByRef tensorflow.DeviceNameUtils.ParsedName pattern, @Const @ByRef tensorflow.DeviceNameUtils.ParsedName name)
@Cast(value="bool") public static boolean AreCompatibleDevNames(@Const @ByRef tensorflow.DeviceNameUtils.ParsedName a, @Const @ByRef tensorflow.DeviceNameUtils.ParsedName b)
@ByVal public static tensorflow.Status MergeDevNames(tensorflow.DeviceNameUtils.ParsedName target, @Const @ByRef tensorflow.DeviceNameUtils.ParsedName other)
@ByVal public static tensorflow.Status MergeDevNames(tensorflow.DeviceNameUtils.ParsedName target, @Const @ByRef tensorflow.DeviceNameUtils.ParsedName other, @Cast(value="bool") boolean allow_soft_placement)
@Cast(value="bool") public static boolean IsSameAddressSpace(@tensorflow.StringPiece BytePointer src, @tensorflow.StringPiece BytePointer dst)
@Cast(value="bool") public static boolean IsSameAddressSpace(@tensorflow.StringPiece String src, @tensorflow.StringPiece String dst)
@Cast(value="bool") public static boolean IsSameAddressSpace(@Const @ByRef tensorflow.DeviceNameUtils.ParsedName src, @Const @ByRef tensorflow.DeviceNameUtils.ParsedName dst)
@StdString public static BytePointer LocalName(@tensorflow.StringPiece BytePointer type, int id)
@StdString public static String LocalName(@tensorflow.StringPiece String type, int id)
@StdString public static BytePointer LocalName(@tensorflow.StringPiece BytePointer fullname)
@StdString public static String LocalName(@tensorflow.StringPiece String fullname)
@Cast(value="bool") public static boolean ParseLocalName(@tensorflow.StringPiece BytePointer name, tensorflow.DeviceNameUtils.ParsedName parsed)
@Cast(value="bool") public static boolean ParseLocalName(@tensorflow.StringPiece String name, tensorflow.DeviceNameUtils.ParsedName parsed)
@Cast(value="bool") public static boolean SplitDeviceName(@tensorflow.StringPiece BytePointer name, @StdString @Cast(value={"char*","std::string*"}) BytePointer task, @StdString @Cast(value={"char*","std::string*"}) BytePointer device)
@Cast(value="bool") public static boolean SplitDeviceName(@tensorflow.StringPiece String name, @StdString @Cast(value={"char*","std::string*"}) BytePointer task, @StdString @Cast(value={"char*","std::string*"}) BytePointer device)
@StdString public static BytePointer ParsedNameToString(@Const @ByRef tensorflow.DeviceNameUtils.ParsedName pn)
@ByVal public static tensorflow.StringVector GetNamesForDeviceMappings(@Const @ByRef tensorflow.DeviceNameUtils.ParsedName pn)
@ByVal public static tensorflow.StringVector GetLocalNamesForDeviceMappings(@Const @ByRef tensorflow.DeviceNameUtils.ParsedName pn)
Copyright © 2019. All rights reserved.