@Namespace(value="mkldnn") @Properties(inherit=mkldnn.class) public class view extends primitive
\addtogroup cpp_api_view View A primitive to view on a memory.
in \ref c_api
\{
Modifier and Type | Class and Description |
---|---|
static class |
view.primitive_desc |
primitive.at
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
batch_normalization, concat, concat_inplace, convolution, deconvolution, eltwise, inner_product, lrn, memory, pooling, reorder, rnn, shuffle, softmax, sum, undefined_primitive, view
Constructor and Description |
---|
view(memory input,
int[] dims,
int[] offsets) |
view(memory input,
IntBuffer dims,
IntBuffer offsets) |
view(memory input,
IntPointer dims,
IntPointer offsets) |
view(Pointer p)
Pointer cast constructor.
|
view(view.primitive_desc view_pd,
primitive.at input) |
get_mkldnn_primitive_desc, getPointer, position
equals, 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 view(Pointer p)
Pointer(Pointer)
.public view(@Const @ByRef view.primitive_desc view_pd, @ByVal primitive.at input)
public view(@ByVal memory input, @StdVector(value="std::remove_extent<mkldnn_dims_t>::type") @ByVal IntPointer dims, @StdVector(value="std::remove_extent<mkldnn_dims_t>::type") @ByVal IntPointer offsets)
public view(@ByVal memory input, @StdVector(value="std::remove_extent<mkldnn_dims_t>::type") @ByVal IntBuffer dims, @StdVector(value="std::remove_extent<mkldnn_dims_t>::type") @ByVal IntBuffer offsets)
public view(@ByVal memory input, @StdVector(value="std::remove_extent<mkldnn_dims_t>::type") @ByVal int[] dims, @StdVector(value="std::remove_extent<mkldnn_dims_t>::type") @ByVal int[] offsets)
Copyright © 2022. All rights reserved.