You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\short Gets size of external temporary buffer required for FP32 deconvolution algorithm.
7987
+
\short Gets the size of caller-provided temporary buffer for FP32 deconvolution.
7988
+
7989
+
The returned value is a number of 32-bit float elements, not bytes. It depends on the implementation selected
7990
+
during initialization and can be used to allocate the \a buf argument of ::SimdSynetDeconvolution32fForward.
7991
+
Some implementations return 1 when they do not need external temporary storage.
7976
7992
7977
7993
\param [in] context - a pointer to FP32 deconvolution context. It must be created by function ::SimdSynetDeconvolution32fInit and released by function ::SimdRelease.
7978
-
\return size of external temporary buffer required for FP32 deconvolution algorithm.
7994
+
\return a number of FP32 elements required for external temporary buffer.
\short Gets size of internal buffer used inside FP32 deconvolution algorithm.
8002
+
\short Gets the size of internal storage used by an FP32 deconvolution context.
8003
+
8004
+
The returned value is a number of 32-bit float elements, not bytes. It reports internal storage tracked by
8005
+
the selected implementation, such as internal temporary buffers and implementation-specific reordered weights,
8006
+
bias or activation parameters already allocated by the context.
7987
8007
7988
8008
\param [in] context - a pointer to FP32 deconvolution context. It must be created by function ::SimdSynetDeconvolution32fInit and released by function ::SimdRelease.
7989
-
\return size of internal buffer used inside FP32 deconvolution algorithm.
8009
+
\return a number of FP32 elements used by internal buffers.
\short Gets description of internal implementation of FP32 deconvolution algorithm.
8017
+
\short Gets a short description of the selected FP32 deconvolution implementation.
8018
+
8019
+
The returned string contains the implementation extension and algorithm name, for example a GEMM-based or
8020
+
NHWC direct 2x2 variant. The returned pointer is owned by the context and remains valid until the next call
8021
+
of this function for the same context or until the context is released.
7998
8022
7999
8023
\param [in] context - a pointer to FP32 deconvolution context. It must be created by function ::SimdSynetDeconvolution32fInit and released by function ::SimdRelease.
8000
-
\return string with description of internal implementation of FP32 deconvolution algorithm.
8024
+
\return a string with description of internal implementation of FP32 deconvolution algorithm.
\short Sets weights, biases and parameters of activation function required for FP32 deconvolution algorithm.
8032
+
\short Sets weights, bias and activation parameters for FP32 deconvolution.
8033
+
8034
+
This function must be called before ::SimdSynetDeconvolution32fForward. The \a weight array contains FP32
8035
+
deconvolution weights with kernelY*kernelX*srcC*dstC/group elements. Depending on the selected implementation,
8036
+
weights can be used directly or transformed and stored inside the context. If \a internal is not NULL, the
8037
+
selected implementation writes the weight storage mode to it: SimdTrue means that weights were transformed and
8038
+
stored internally, while SimdFalse means that the implementation may use the original \a weight array directly,
8039
+
so the caller must keep it valid for later forward calls. Bias and activation parameters can also be copied
8040
+
internally by some implementations; otherwise their pointers are stored in the context.
8009
8041
8010
8042
\param [in, out] context - a pointer to FP32 deconvolution context. It must be created by function ::SimdSynetDeconvolution32fInit and released by function ::SimdRelease.
8011
-
\param [in] weight - a pointer to deconvolution weights.
8012
-
\param [out] internal - a flag signalizing that weight is stored in the internal buffer. Can be NULL.
8013
-
\param [in] bias - a pointer to bias. Can be NULL.
8014
-
\param [in] params - a pointer to parameters of activation functions (see ::SimdConvolutionActivationType). Can be NULL.
8043
+
\param [in] weight - a pointer to FP32 deconvolution weights.
8044
+
\param [out] internal - a pointer to a flag receiving weight ownership mode. Can be NULL.
8045
+
\param [in] bias - a pointer to FP32 bias array with dstC elements. Can be NULL.
8046
+
\param [in] params - a pointer to FP32 parameters of activation function (see ::SimdConvolutionActivationType).
8047
+
Can be NULL when activation does not require parameters.
The exact offsets depend on tensor format, padding, dilation, stride and group. The input and output tensors
8070
+
use the shape and format from the context created by ::SimdSynetDeconvolution32fInit.
8023
8071
8024
8072
\param [in] context - a pointer to FP32 deconvolution context. It must be created by function ::SimdSynetDeconvolution32fInit and released by function ::SimdRelease.
8025
-
\param [in] src - a pointer to input tensor.
8026
-
\param [out] buf - a pointer to external temporary buffer. The size of the external temporary buffer is determined by function ::SimdSynetDeconvolution32fExternalBufferSize. Can be NULL (it causes usage of internal buffer).
8027
-
\param [out] dst - a pointer to output tensor.
8073
+
\param [in] src - a pointer to FP32 input tensor.
8074
+
\param [out] buf - a pointer to external temporary FP32 buffer. The required number of elements is determined by
8075
+
function ::SimdSynetDeconvolution32fExternalBufferSize. Can be NULL (it causes usage of internal buffer).
8076
+
\param [out] dst - a pointer to FP32 output tensor.
0 commit comments