@Namespace(value="dnnl") @Properties(inherit=dnnl.class) public class resampling_forward extends primitive
\addtogroup dnnl_api_resampling Resampling A primitive to compute resampling operation on 1D, 2D or 3D data tensor using Nearest Neighbor, or Linear (Bilinear, Trilinear) interpolation method.
dev_guide_resampling in developer guide
\{
Resampling forward propagation.
Modifier and Type | Class and Description |
---|---|
static class |
resampling_forward.primitive_desc
Primitive descriptor for a resampling forward propagation primitive.
|
primitive.kind
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
resampling_forward()
Default constructor.
|
resampling_forward(long size)
Native array allocator.
|
resampling_forward(Pointer p)
Pointer cast constructor.
|
resampling_forward(resampling_forward.primitive_desc pd)
Constructs a resampling forward propagation primitive.
|
resampling_forward(resampling_forward.primitive_desc pd,
byte[] cache_blob) |
resampling_forward(resampling_forward.primitive_desc pd,
ByteBuffer cache_blob) |
resampling_forward(resampling_forward.primitive_desc pd,
BytePointer cache_blob)
Constructs a resampling forward propagation primitive from a cache
blob.
|
Modifier and Type | Method and Description |
---|---|
resampling_forward |
getPointer(long i) |
resampling_forward |
position(long position) |
execute, get_cache_blob, get_dnnl_primitive_desc, get_kind
asBoolean, asDnnl_primitive, equals, get, get, notEquals, put, reset, reset
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public resampling_forward(Pointer p)
Pointer(Pointer)
.public resampling_forward(long size)
Pointer.position(long)
.public resampling_forward()
public resampling_forward(@Const @ByRef resampling_forward.primitive_desc pd)
pd
- Primitive descriptor for a resampling forward propagation
primitive.public resampling_forward(@Const @ByRef resampling_forward.primitive_desc pd, @Cast(value="uint8_t*") @StdVector BytePointer cache_blob)
pd
- Primitive descriptor for a resampling forward propagation
primitive.cache_blob
- Cache blob.public resampling_forward(@Const @ByRef resampling_forward.primitive_desc pd, @Cast(value="uint8_t*") @StdVector ByteBuffer cache_blob)
public resampling_forward(@Const @ByRef resampling_forward.primitive_desc pd, @Cast(value="uint8_t*") @StdVector byte[] cache_blob)
public resampling_forward position(long position)
public resampling_forward getPointer(long i)
getPointer
in class primitive
Copyright © 2024. All rights reserved.