@Namespace(value="at") @NoOffset @Properties(inherit=torch.class) public class RecordFunction extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
RecordFunction() |
RecordFunction(byte scope) |
RecordFunction(long size)
Native array allocator.
|
RecordFunction(Pointer step_callbacks) |
RecordFunction(torch.RecordScope scope) |
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 RecordFunction(long size)
Pointer.position(long)
.public RecordFunction(torch.RecordScope scope)
public RecordFunction()
public RecordFunction position(long position)
public RecordFunction getPointer(long i)
getPointer
in class Pointer
@Cast(value="const char*") public BytePointer name()
@ByVal public IValueArrayRef inputs()
@ByVal public StringIValueMap kwinputs()
@Const @ByRef public IValueVector outputs()
public void setOutputs(@ByRef(value=true) IValueVector outputs)
public void setOutputs(@ByVal IValueArrayRef outputs)
public torch.RecordScope scope()
public void before(@Cast(value="const char*") BytePointer name, @Cast(value="int64_t") long sequence_nr)
public void before(@Cast(value="const char*") BytePointer name)
public void before(String name)
public void before(@ByVal @Cast(value="at::RecordFunction::schema_ref_t*") Pointer schema, @Cast(value="int64_t") long sequence_nr)
public void end()
public long handle()
@ByVal public OperatorNameOptional operator_name()
@ByVal public FunctionSchemaOptional operator_schema()
public void setHandle(long handle)
public void invalidateInputs()
Copyright © 2024. All rights reserved.