@Namespace(value="Ort") @NoOffset @Properties(inherit=onnxruntime.class) public class ShapeInferContext extends Pointer
Modifier and Type | Class and Description |
---|---|
static class |
ShapeInferContext.SymbolicInteger |
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ShapeInferContext(OrtApi ort_api,
OrtShapeInferContext ctx) |
ShapeInferContext(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
float |
GetAttrFloat(BytePointer attr_name) |
float |
GetAttrFloat(String attr_name) |
FloatVector |
GetAttrFloats(BytePointer attr_name) |
FloatVector |
GetAttrFloats(String attr_name) |
long |
GetAttrInt(BytePointer attr_name) |
long |
GetAttrInt(String attr_name) |
LongVector |
GetAttrInts(BytePointer attr_name) |
LongVector |
GetAttrInts(String attr_name) |
BytePointer |
GetAttrString(BytePointer attr_name) |
String |
GetAttrString(String attr_name) |
StringVector |
GetAttrStrings(BytePointer attr_name) |
StringVector |
GetAttrStrings(String attr_name) |
long |
GetInputCount() |
ShapeInferContext.SymbolicInteger |
GetInputShape(long indice) |
Status |
SetOutputShape(long indice,
ShapeInferContext.SymbolicInteger shape) |
Status |
SetOutputShape(long indice,
ShapeInferContext.SymbolicInteger shape,
int type) |
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 ShapeInferContext(Pointer p)
Pointer(Pointer)
.public ShapeInferContext(@Const OrtApi ort_api, OrtShapeInferContext ctx)
@StdVector public ShapeInferContext.SymbolicInteger GetInputShape(@Cast(value="size_t") long indice)
@ByVal public Status SetOutputShape(@Cast(value="size_t") long indice, @StdVector ShapeInferContext.SymbolicInteger shape, @Cast(value="ONNXTensorElementDataType") int type)
@ByVal public Status SetOutputShape(@Cast(value="size_t") long indice, @StdVector ShapeInferContext.SymbolicInteger shape)
@Cast(value="int64_t") public long GetAttrInt(@Cast(value="const char*") BytePointer attr_name)
@ByVal public LongVector GetAttrInts(@Cast(value="const char*") BytePointer attr_name)
@ByVal public LongVector GetAttrInts(String attr_name)
public float GetAttrFloat(@Cast(value="const char*") BytePointer attr_name)
public float GetAttrFloat(String attr_name)
@ByVal public FloatVector GetAttrFloats(@Cast(value="const char*") BytePointer attr_name)
@ByVal public FloatVector GetAttrFloats(String attr_name)
@StdString public BytePointer GetAttrString(@Cast(value="const char*") BytePointer attr_name)
@StdString public String GetAttrString(String attr_name)
@ByVal @Cast(value="Ort::ShapeInferContext::Strings*") public StringVector GetAttrStrings(@Cast(value="const char*") BytePointer attr_name)
@ByVal @Cast(value="Ort::ShapeInferContext::Strings*") public StringVector GetAttrStrings(String attr_name)
Copyright © 2024. All rights reserved.