@Name(value="c10::VaryingShape<int64_t>") @NoOffset @Properties(inherit=torch.class) public class LongVaryingShape extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
LongVaryingShape() |
LongVaryingShape(long... vec) |
LongVaryingShape(long size) |
LongVaryingShape(LongArrayRef vec) |
LongVaryingShape(LongOptionalVector dims) |
LongVaryingShape(LongVector vec) |
LongVaryingShape(Pointer p)
Pointer cast constructor.
|
LongVaryingShape(SizeTOptional size) |
| Modifier and Type | Method and Description |
|---|---|
LongVectorOptional |
concrete_sizes() |
boolean |
equals(LongVaryingShape other) |
LongOptional |
get(long i) |
boolean |
isComplete() |
LongVaryingShape |
merge(LongVaryingShape other) |
SizeTOptional |
size() |
Pointer |
sizes() |
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, zeropublic LongVaryingShape(Pointer p)
Pointer(Pointer).public LongVaryingShape(@Cast(value="const std::vector<int64_t>*") @ByRef LongVector vec)
public LongVaryingShape(@ByVal LongArrayRef vec)
public LongVaryingShape(@ByVal @Cast(value={"int64_t*","c10::ArrayRef<int64_t>","std::vector<int64_t>&"}) @StdVector(value="int64_t") long... vec)
public LongVaryingShape(@ByVal(nullValue="c10::optional<size_t>(c10::nullopt)") SizeTOptional size)
public LongVaryingShape()
public LongVaryingShape(@ByVal @Cast(value="c10::VaryingShape<int64_t>::ListOfOptionalElements*") LongOptionalVector dims)
@Cast(value="bool") @Name(value="operator ==") public boolean equals(@Const @ByRef LongVaryingShape other)
@ByVal public SizeTOptional size()
@Cast(value="const c10::optional<c10::VaryingShape<int64_t>::ListOfOptionalElements>*") @ByRef public Pointer sizes()
@ByVal public LongVaryingShape merge(@Const @ByRef LongVaryingShape other)
@ByVal public LongVectorOptional concrete_sizes()
Copyright © 2024. All rights reserved.