@Properties(inherit=onnx.class) public class onnxTensorDescriptorV1 extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter| Constructor and Description |
|---|
onnxTensorDescriptorV1()
Default native constructor.
|
onnxTensorDescriptorV1(long size)
Native array allocator.
|
onnxTensorDescriptorV1(Pointer p)
Pointer cast constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
buffer()
Pointers to tensor data.
|
onnxTensorDescriptorV1 |
buffer(int setter) |
int |
dataType()
Data type of the elements in the tensor.
|
onnxTensorDescriptorV1 |
dataType(int setter) |
int |
dimensions()
Number of dimensions in the tensor.
|
onnxTensorDescriptorV1 |
dimensions(int setter) |
int |
memoryType()
Type of memory that stores the tensor.
|
onnxTensorDescriptorV1 |
memoryType(int setter) |
BytePointer |
name()
Name of the blob corresponding to this tensor in the ONNX model.
|
onnxTensorDescriptorV1 |
name(BytePointer setter) |
onnxTensorDescriptorV1 |
position(long position) |
IntPointer |
shape()
Dimensions of the tensor.
|
onnxTensorDescriptorV1 |
shape(IntPointer setter) |
int |
tag()
32-bit tag needed to distinguish different versions of a tensor descriptor
structure.
|
onnxTensorDescriptorV1 |
tag(int setter) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, hashCode, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetof, parseBytes, physicalBytes, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, toString, totalBytes, totalPhysicalBytes, withDeallocator, zeropublic onnxTensorDescriptorV1()
public onnxTensorDescriptorV1(long size)
Pointer.position(long).public onnxTensorDescriptorV1(Pointer p)
Pointer.Pointer(Pointer).public onnxTensorDescriptorV1 position(long position)
@Cast(value="int32_t") public int tag()
public onnxTensorDescriptorV1 tag(int setter)
@Cast(value="const char*") public BytePointer name()
public onnxTensorDescriptorV1 name(BytePointer setter)
@Cast(value="onnxEnum") public int dataType()
public onnxTensorDescriptorV1 dataType(int setter)
@Cast(value="onnxEnum") public int memoryType()
public onnxTensorDescriptorV1 memoryType(int setter)
@Cast(value="uint32_t") public int dimensions()
public onnxTensorDescriptorV1 dimensions(int setter)
@Cast(value="const uint64_t*") public IntPointer shape()
public onnxTensorDescriptorV1 shape(IntPointer setter)
@Cast(value="onnxPointer") public int buffer()
public onnxTensorDescriptorV1 buffer(int setter)
Copyright © 2020. All rights reserved.