@Namespace(value="tensorflow") @NoOffset public static class tensorflow.KernelDef extends tensorflow.MessageLite
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator| Modifier and Type | Field and Description |
|---|---|
static int |
kConstraintFieldNumber |
static int |
kDeviceTypeFieldNumber |
static int |
kHostMemoryArgFieldNumber |
static int |
kIndexInFileMessages |
static int |
kLabelFieldNumber |
static int |
kOpFieldNumber |
| Constructor and Description |
|---|
KernelDef() |
KernelDef(long size)
Native array allocator.
|
KernelDef(Pointer p)
Pointer cast constructor.
|
KernelDef(tensorflow.KernelDef from) |
AppendPartialToString, AppendToString, ByteSize, CheckTypeAndMergeFrom, GetTypeName, InitializationErrorString, MergeFromCodedStream, ParseFromArray, ParseFromBoundedZeroCopyStream, ParseFromCodedStream, ParseFromString, ParseFromString, ParseFromZeroCopyStream, ParsePartialFromArray, ParsePartialFromBoundedZeroCopyStream, ParsePartialFromCodedStream, ParsePartialFromString, ParsePartialFromString, ParsePartialFromZeroCopyStream, SerializeAsString, SerializePartialAsString, SerializePartialToArray, SerializePartialToCodedStream, SerializePartialToString, SerializePartialToZeroCopyStream, SerializeToArray, SerializeToCodedStream, SerializeToString, SerializeToZeroCopyStream, SerializeWithCachedSizesToArray, SerializeWithCachedSizesToArray, SerializeWithCachedSizesToArrayaddress, 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 static final int kIndexInFileMessages
public static final int kConstraintFieldNumber
public static final int kHostMemoryArgFieldNumber
public static final int kOpFieldNumber
public static final int kDeviceTypeFieldNumber
public static final int kLabelFieldNumber
public KernelDef(Pointer p)
Pointer.Pointer(Pointer).public KernelDef(long size)
Pointer.position(long).public KernelDef()
public KernelDef(@Const @ByRef tensorflow.KernelDef from)
public tensorflow.KernelDef position(long position)
@ByRef @Name(value="operator =") public tensorflow.KernelDef put(@Const @ByRef tensorflow.KernelDef from)
public tensorflow.Arena GetArena()
GetArena in class tensorflow.MessageLitepublic Pointer GetMaybeArenaPointer()
GetMaybeArenaPointer in class tensorflow.MessageLite@Const @ByRef public static tensorflow.KernelDef default_instance()
public static void InitAsDefaultInstance()
@Const public static tensorflow.KernelDef internal_default_instance()
@MemberGetter public static int kIndexInFileMessages()
public void UnsafeArenaSwap(tensorflow.KernelDef other)
public void Swap(tensorflow.KernelDef other)
public tensorflow.KernelDef New()
New in class tensorflow.MessageLitepublic tensorflow.KernelDef New(tensorflow.Arena arena)
New in class tensorflow.MessageLitepublic void CopyFrom(@Cast(value="const google::protobuf::Message*") @ByRef tensorflow.MessageLite from)
public void MergeFrom(@Cast(value="const google::protobuf::Message*") @ByRef tensorflow.MessageLite from)
public void CopyFrom(@Const @ByRef tensorflow.KernelDef from)
public void MergeFrom(@Const @ByRef tensorflow.KernelDef from)
public void Clear()
Clear in class tensorflow.MessageLite@Cast(value="bool") public boolean IsInitialized()
IsInitialized in class tensorflow.MessageLite@Cast(value="size_t") public long ByteSizeLong()
ByteSizeLong in class tensorflow.MessageLite@Cast(value="bool") public boolean MergePartialFromCodedStream(tensorflow.CodedInputStream input)
MergePartialFromCodedStream in class tensorflow.MessageLitepublic void SerializeWithCachedSizes(tensorflow.CodedOutputStream output)
SerializeWithCachedSizes in class tensorflow.MessageLite@Cast(value="google::protobuf::uint8*") public BytePointer InternalSerializeWithCachedSizesToArray(@Cast(value="bool") boolean deterministic, @Cast(value="google::protobuf::uint8*") BytePointer target)
InternalSerializeWithCachedSizesToArray in class tensorflow.MessageLite@Cast(value="google::protobuf::uint8*") public ByteBuffer InternalSerializeWithCachedSizesToArray(@Cast(value="bool") boolean deterministic, @Cast(value="google::protobuf::uint8*") ByteBuffer target)
InternalSerializeWithCachedSizesToArray in class tensorflow.MessageLite@Cast(value="google::protobuf::uint8*") public byte[] InternalSerializeWithCachedSizesToArray(@Cast(value="bool") boolean deterministic, @Cast(value="google::protobuf::uint8*") byte[] target)
InternalSerializeWithCachedSizesToArray in class tensorflow.MessageLitepublic int GetCachedSize()
GetCachedSize in class tensorflow.MessageLitepublic int constraint_size()
public void clear_constraint()
@MemberGetter public static int kConstraintFieldNumber()
public tensorflow.KernelDef_AttrConstraint mutable_constraint(int index)
@Const @ByRef public tensorflow.KernelDef_AttrConstraint constraint(int index)
public tensorflow.KernelDef_AttrConstraint add_constraint()
public int host_memory_arg_size()
public void clear_host_memory_arg()
@MemberGetter public static int kHostMemoryArgFieldNumber()
@StdString public BytePointer host_memory_arg(int index)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer mutable_host_memory_arg(int index)
public void set_host_memory_arg(int index,
@StdString
BytePointer value)
public void set_host_memory_arg(int index,
@StdString
String value)
public void set_host_memory_arg(int index,
@Cast(value="const char*")
BytePointer value,
@Cast(value="size_t")
long size)
public void set_host_memory_arg(int index,
String value,
@Cast(value="size_t")
long size)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer add_host_memory_arg()
public void add_host_memory_arg(@StdString BytePointer value)
public void add_host_memory_arg(@StdString String value)
public void add_host_memory_arg(@Cast(value="const char*") BytePointer value, @Cast(value="size_t") long size)
public void clear_op()
@MemberGetter public static int kOpFieldNumber()
@StdString public BytePointer op()
public void set_op(@StdString BytePointer value)
public void set_op(@StdString String value)
public void set_op(@Cast(value="const char*") BytePointer value, @Cast(value="size_t") long size)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer mutable_op()
@StdString @Cast(value={"char*","std::string*"}) public BytePointer release_op()
public void set_allocated_op(@StdString @Cast(value={"char*","std::string*"}) BytePointer op)
@Deprecated @StdString @Cast(value={"char*","std::string*"}) public BytePointer unsafe_arena_release_op()
@Deprecated public void unsafe_arena_set_allocated_op(@StdString @Cast(value={"char*","std::string*"}) BytePointer op)
public void clear_device_type()
@MemberGetter public static int kDeviceTypeFieldNumber()
@StdString public BytePointer device_type()
public void set_device_type(@StdString BytePointer value)
public void set_device_type(@StdString String value)
public void set_device_type(@Cast(value="const char*") BytePointer value, @Cast(value="size_t") long size)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer mutable_device_type()
@StdString @Cast(value={"char*","std::string*"}) public BytePointer release_device_type()
public void set_allocated_device_type(@StdString @Cast(value={"char*","std::string*"}) BytePointer device_type)
@Deprecated @StdString @Cast(value={"char*","std::string*"}) public BytePointer unsafe_arena_release_device_type()
@Deprecated public void unsafe_arena_set_allocated_device_type(@StdString @Cast(value={"char*","std::string*"}) BytePointer device_type)
public void clear_label()
@MemberGetter public static int kLabelFieldNumber()
@StdString public BytePointer label()
public void set_label(@StdString BytePointer value)
public void set_label(@StdString String value)
public void set_label(@Cast(value="const char*") BytePointer value, @Cast(value="size_t") long size)
@StdString @Cast(value={"char*","std::string*"}) public BytePointer mutable_label()
@StdString @Cast(value={"char*","std::string*"}) public BytePointer release_label()
public void set_allocated_label(@StdString @Cast(value={"char*","std::string*"}) BytePointer label)
@Deprecated @StdString @Cast(value={"char*","std::string*"}) public BytePointer unsafe_arena_release_label()
@Deprecated public void unsafe_arena_set_allocated_label(@StdString @Cast(value={"char*","std::string*"}) BytePointer label)
Copyright © 2019. All rights reserved.