Doxygen Book
tensor_if.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: LGPL-2.1-only */
47
#ifndef __NNS_TENSOR_IF_H__
48
#define __NNS_TENSOR_IF_H__
49
50
#include <glib.h>
51
#include <gst/gst.h>
52
#include "
tensor_typedef.h
"
53
54
G_BEGIN_DECLS
63
typedef
gboolean (*
tensor_if_custom
) (
const
GstTensorsInfo
*info,
64
const
GstTensorMemory
*input,
void
*user_data, gboolean *
result
);
65
76
extern
int
77
nnstreamer_if_custom_register
(
const
gchar *name,
tensor_if_custom
func,
void
*
data
);
78
84
extern
int
85
nnstreamer_if_custom_unregister
(
const
gchar *name);
86
87
G_END_DECLS
88
#endif
/*__NNS_TENSOR_IF_H__*/
data
svtc_1 data
Definition:
gsttensor_if.c:844
result
case tensor_data_s gboolean * result
Definition:
gsttensor_if.c:839
GstTensorsInfo
Internal meta data exchange format for a other/tensors instance.
Definition:
tensor_typedef.h:273
nnstreamer_if_custom_register
int nnstreamer_if_custom_register(const gchar *name, tensor_if_custom func, void *data)
Register the custom callback function.
Definition:
gsttensor_if.c:1023
GstTensorMemory
The unit of each data tensors. It will be used as an input/output tensor of other/tensors.
Definition:
tensor_typedef.h:252
tensor_if_custom
G_BEGIN_DECLS typedef gboolean(* tensor_if_custom)(const GstTensorsInfo *info, const GstTensorMemory *input, void *user_data, gboolean *result)
Calls the user defined conditions function.
Definition:
tensor_if.h:63
tensor_typedef.h
Common header file for NNStreamer, the GStreamer plugin for neural networks.
nnstreamer_if_custom_unregister
int nnstreamer_if_custom_unregister(const gchar *name)
Unregister the custom callback function.
Definition:
gsttensor_if.c:1049
nnstreamer
include
tensor_if.h
Generated on Fri Nov 15 2024 12:16:03 for Doxygen Book by
1.8.17