/**
* @brief Byte-per-element of each tensor element type.
*/
-const unsigned int nns_tensor_element_size[] = {
+static const unsigned int nns_tensor_element_size[] = {
[_NNS_INT32] = 4,
[_NNS_UINT32] = 4,
[_NNS_INT16] = 2,
/**
* @brief String representations for each tensor element type.
*/
-const gchar* nns_tensor_element_typename[] = {
+static const gchar* nns_tensor_element_typename[] = {
[_NNS_INT32] = "int32",
[_NNS_UINT32] = "uint32",
[_NNS_INT16] = "int16",
gchar *name; /**< Name of the neural network framework, searchable by FRAMEWORK property */
gboolean allow_in_place; /**< TRUE if InPlace transfer of input-to-output is allowed. Not supported in main, yet */
int (*invoke_NN)(GstTensor_Filter *filter, void *inputptr, void *outputptr); /**< Mandatory callback. Invoke the given network model. */
- int (*getInputDimension)(GstTensor_Fitler *filter, uint32_t *inputDimension); /**< Optional. Set NULL if not supported. Get dimension of input tensor */
+ int (*getInputDimension)(GstTensor_Filter *filter, uint32_t *inputDimension); /**< Optional. Set NULL if not supported. Get dimension of input tensor */
int (*getOutputDimension)(GstTensor_Filter *filter, uint32_t *outputDimension); /**< Optional. Set NULL if not supported. Get dimension of output tensor */
};
typedef struct _GstTensor_Filter_Framework GstTensor_Filter_Framework;