Doxygen Book
gsttensor_sparseutil.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: LGPL-2.1-only */
15
#ifndef __GST_TENSOR_SPARSE_UTIL_H__
16
#define __GST_TENSOR_SPARSE_UTIL_H__
17
18
#include <gst/gst.h>
19
#include <
tensor_typedef.h
>
20
21
G_BEGIN_DECLS
22
29
extern
GstMemory *
30
gst_tensor_sparse_to_dense
(
GstTensorMetaInfo
* meta, GstMemory * mem);
31
38
extern
GstMemory *
39
gst_tensor_sparse_from_dense
(
GstTensorMetaInfo
* meta, GstMemory * mem);
40
41
G_END_DECLS
42
#endif
/* __GST_TENSOR_SPARSE_UTIL_H__ */
gst_tensor_sparse_to_dense
G_BEGIN_DECLS GstMemory * gst_tensor_sparse_to_dense(GstTensorMetaInfo *meta, GstMemory *mem)
Make dense tensor with input sparse tensor.
Definition:
gsttensor_sparseutil.c:27
GstTensorMetaInfo
Data structure to describe a tensor data. This represents the basic information of a memory block for...
Definition:
tensor_typedef.h:310
tensor_typedef.h
Common header file for NNStreamer, the GStreamer plugin for neural networks.
gst_tensor_sparse_from_dense
GstMemory * gst_tensor_sparse_from_dense(GstTensorMetaInfo *meta, GstMemory *mem)
Make sparse tensor with input dense tensor.
Definition:
gsttensor_sparseutil.c:116
nnstreamer
elements
gsttensor_sparseutil.h
Generated on Fri Nov 15 2024 12:16:02 for Doxygen Book by
1.8.17