@Namespace(value="torch::jit") @Properties(inherit=torch.class) public class Operator extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
Operator(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
torch.AliasAnalysisKind |
aliasAnalysisKind() |
Operation |
getOperation() |
Operation |
getOperation(JitNode node) |
Operation |
getOperationForDispatchKey(short dk) |
Operation |
getOperationForDispatchKey(torch.DispatchKey dk) |
TagArrayRef |
getTags() |
boolean |
hasOperation() |
boolean |
isC10Op() |
FunctionSchema |
schema() |
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 Operator(Pointer p)
Pointer(Pointer)
.@ByVal public Operation getOperationForDispatchKey(torch.DispatchKey dk)
@ByVal public Operation getOperationForDispatchKey(@Cast(value="c10::DispatchKey") short dk)
@Const @ByRef public FunctionSchema schema()
@ByVal public TagArrayRef getTags()
public torch.AliasAnalysisKind aliasAnalysisKind()
Copyright © 2024. All rights reserved.