@Namespace(value="torch::jit") @NoOffset @Properties(inherit=torch.class) public class GraphAttr extends AttributeValue
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
GraphAttr(Pointer p)
Pointer cast constructor.
|
GraphAttr(Symbol name,
Graph value_) |
Modifier and Type | Method and Description |
---|---|
AttributeValue |
clone() |
torch.JitAttributeKind |
kind() |
Graph |
value() |
name, name
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 GraphAttr(Pointer p)
Pointer(Pointer)
.@SharedPtr(value="torch::jit::Graph") @ByRef public Graph value()
@UniquePtr @ByVal public AttributeValue clone()
clone
in class AttributeValue
public torch.JitAttributeKind kind()
kind
in class AttributeValue
Copyright © 2024. All rights reserved.