@Namespace(value="tensorflow") @NoOffset @Properties(inherit=tensorflow.class) public class KernelDefBuilder extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
KernelDefBuilder(BytePointer op_name) |
KernelDefBuilder(Pointer p)
Pointer cast constructor.
|
KernelDefBuilder(String op_name) |
Modifier and Type | Method and Description |
---|---|
KernelDef |
Build() |
KernelDefBuilder |
Device(BytePointer device_type) |
KernelDefBuilder |
Device(String device_type) |
KernelDefBuilder |
HostMemory(BytePointer arg_name) |
KernelDefBuilder |
HostMemory(String arg_name) |
KernelDefBuilder |
Label(BytePointer label) |
KernelDefBuilder |
Label(String label) |
KernelDefBuilder |
Priority(int priority) |
KernelDefBuilder |
TypeConstraint(BytePointer attr_name,
int allowed) |
KernelDefBuilder |
TypeConstraint(BytePointer attr_name,
IntPointer allowed) |
KernelDefBuilder |
TypeConstraint(String attr_name,
int allowed) |
KernelDefBuilder |
TypeConstraint(String attr_name,
IntPointer allowed) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public KernelDefBuilder(Pointer p)
Pointer(Pointer)
.public KernelDefBuilder(@Cast(value="const char*") BytePointer op_name)
public KernelDefBuilder(String op_name)
@ByRef public KernelDefBuilder Device(@Cast(value="const char*") BytePointer device_type)
@ByRef public KernelDefBuilder Device(String device_type)
@ByRef public KernelDefBuilder TypeConstraint(@Cast(value="const char*") BytePointer attr_name, @Cast(value="tensorflow::DataType*") @tensorflow.ArraySlice IntPointer allowed)
@ByRef public KernelDefBuilder TypeConstraint(String attr_name, @Cast(value="tensorflow::DataType*") @tensorflow.ArraySlice IntPointer allowed)
@ByRef public KernelDefBuilder TypeConstraint(@Cast(value="const char*") BytePointer attr_name, @Cast(value="tensorflow::DataType") int allowed)
@ByRef public KernelDefBuilder TypeConstraint(String attr_name, @Cast(value="tensorflow::DataType") int allowed)
@ByRef public KernelDefBuilder HostMemory(@Cast(value="const char*") BytePointer arg_name)
@ByRef public KernelDefBuilder HostMemory(String arg_name)
@ByRef public KernelDefBuilder Label(@Cast(value="const char*") BytePointer label)
@ByRef public KernelDefBuilder Label(String label)
@ByRef public KernelDefBuilder Priority(int priority)
Copyright © 2022. All rights reserved.