@Namespace(value="torch::autograd") @Properties(inherit=torch.class) public class FunctionPostHook extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
FunctionPostHook(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
TensorVector |
apply(TensorVector outputs,
TensorVector inputs) |
void |
compiled_args(CompiledNodeArgs args) |
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 FunctionPostHook(Pointer p)
Pointer(Pointer)
.@Name(value="operator ()") @Cast(value={"","std::vector<torch::Tensor>"}) @StdMove public TensorVector apply(@Cast(value={"","std::vector<torch::Tensor>"}) @StdMove TensorVector outputs, @Cast(value={"","std::vector<torch::Tensor>"}) @StdMove TensorVector inputs)
public void compiled_args(@ByRef CompiledNodeArgs args)
Copyright © 2024. All rights reserved.