@Namespace(value="tensorflow") @NoOffset @Properties(inherit=tensorflow.class) public class EagerOperation extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
EagerOperation(EagerContext ctx,
BytePointer op,
boolean is_function,
StringIntUnorderedMap t) |
EagerOperation(EagerContext ctx,
String op,
boolean is_function,
StringIntUnorderedMap t) |
EagerOperation(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
AddInput(TensorHandle h) |
AttrBuilder |
Attrs() |
StringIntUnorderedMap |
AttrTypes() |
void |
ConsumeInput(TensorHandle h) |
BytePointer |
DebugString() |
Device |
Device() |
EagerContext |
EagerContext() |
EagerExecutor |
Executor() |
CancellationManager |
GetCancellationManager() |
DeviceNameUtils.ParsedName |
GetDeviceName() |
TensorHandleVector |
Inputs() |
boolean |
is_function() |
AttrBuilder |
MutableAttrs() |
TensorHandleVector |
MutableInputs() |
BytePointer |
Name() |
void |
SetCancellationManager(CancellationManager cancellation_manager) |
void |
SetDevice(Device device) |
Status |
SetDeviceName(BytePointer device) |
Status |
SetDeviceName(String device) |
void |
SetUseXla(boolean use_xla) |
void |
UpdateInput(int i,
TensorHandle h) |
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 EagerOperation(Pointer p)
Pointer(Pointer)
.public EagerOperation(EagerContext ctx, @Cast(value="const char*") BytePointer op, @Cast(value="bool") boolean is_function, @Cast(value="const tensorflow::AttrTypeMap*") StringIntUnorderedMap t)
public EagerOperation(EagerContext ctx, String op, @Cast(value="bool") boolean is_function, @Cast(value="const tensorflow::AttrTypeMap*") StringIntUnorderedMap t)
public EagerContext EagerContext()
public AttrBuilder MutableAttrs()
@Const @ByRef public AttrBuilder Attrs()
@Const @ByRef public TensorHandleVector Inputs()
public TensorHandleVector MutableInputs()
public void AddInput(TensorHandle h)
public void UpdateInput(int i, TensorHandle h)
public void ConsumeInput(TensorHandle h)
@StdString public BytePointer Name()
@Cast(value="const tensorflow::AttrTypeMap*") public StringIntUnorderedMap AttrTypes()
public Device Device()
public void SetDevice(Device device)
@Const @ByRef public DeviceNameUtils.ParsedName GetDeviceName()
@ByVal public Status SetDeviceName(@Cast(value="const char*") BytePointer device)
public CancellationManager GetCancellationManager()
public void SetCancellationManager(CancellationManager cancellation_manager)
public EagerExecutor Executor()
@StdString public BytePointer DebugString()
Copyright © 2022. All rights reserved.