@Namespace(value="tensorflow") @NoOffset @Properties(inherit=tensorflow.class) public class OpSegment extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
OpSegment() |
OpSegment(long size)
Native array allocator.
|
OpSegment(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
AddHold(BytePointer session_handle) |
void |
AddHold(String session_handle) |
Status |
FindOrCreate(BytePointer session_handle,
BytePointer node_name,
OpKernel kernel,
Pointer create_fn) |
Status |
FindOrCreate(BytePointer session_handle,
BytePointer node_name,
PointerPointer kernel,
Pointer create_fn) |
Status |
FindOrCreate(String session_handle,
String node_name,
OpKernel kernel,
Pointer create_fn) |
OpSegment |
getPointer(long i) |
OpSegment |
position(long position) |
void |
RemoveHold(BytePointer session_handle) |
void |
RemoveHold(String session_handle) |
static boolean |
ShouldOwnKernel(FunctionLibraryRuntime lib,
BytePointer node_op) |
static boolean |
ShouldOwnKernel(FunctionLibraryRuntime lib,
String node_op) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public OpSegment(Pointer p)
Pointer(Pointer)
.public OpSegment(long size)
Pointer.position(long)
.public OpSegment()
public OpSegment getPointer(long i)
getPointer
in class Pointer
public void AddHold(@StdString BytePointer session_handle)
public void AddHold(@StdString String session_handle)
public void RemoveHold(@StdString BytePointer session_handle)
public void RemoveHold(@StdString String session_handle)
@ByVal public Status FindOrCreate(@StdString BytePointer session_handle, @StdString BytePointer node_name, @Cast(value="tensorflow::OpKernel**") PointerPointer kernel, @ByVal @Cast(value="tensorflow::OpSegment::CreateKernelFn*") Pointer create_fn)
@ByVal public Status FindOrCreate(@StdString BytePointer session_handle, @StdString BytePointer node_name, @ByPtrPtr OpKernel kernel, @ByVal @Cast(value="tensorflow::OpSegment::CreateKernelFn*") Pointer create_fn)
@ByVal public Status FindOrCreate(@StdString String session_handle, @StdString String node_name, @ByPtrPtr OpKernel kernel, @ByVal @Cast(value="tensorflow::OpSegment::CreateKernelFn*") Pointer create_fn)
@Cast(value="bool") public static boolean ShouldOwnKernel(FunctionLibraryRuntime lib, @StdString BytePointer node_op)
@Cast(value="bool") public static boolean ShouldOwnKernel(FunctionLibraryRuntime lib, @StdString String node_op)
Copyright © 2022. All rights reserved.