21#ifndef INCLUDE_SHL_C920_H_
22#define INCLUDE_SHL_C920_H_
27#include "shl_thead_rvv.h"
64void shl_c920_ncxhwx_gemm_8xpack2n_fp32(
float *dst,
const float *sa,
const float *sb,
float *bias,
65 int m,
int k,
int n,
int ldc);
66void shl_c920_ncxhwx_gemm_8xpack2n_fp16(__fp16 *dst,
const __fp16 *sa,
const __fp16 *sb,
67 __fp16 *bias,
int m,
int k,
int n,
int ldc);
69void shl_c920_u8_to_f32(
const uint8_t *input,
float *output, int32_t offset,
float *scale,
71void shl_c920_i8_to_f32(
const int8_t *input,
float *output, int32_t offset,
float *scale,
73void shl_c920_f32_to_u8(
const float *input, uint8_t *output, int32_t offset,
float *scale,
75void shl_c920_f32_to_i8(
const float *input, int8_t *output, int32_t offset,
float *scale,
78void *shl_c920_f32_to_input_dtype(uint32_t index,
float *data,
struct csinn_session *sess);
79float *shl_c920_output_to_f32_dtype(uint32_t index,
void *data,
struct csinn_session *sess);
80struct shl_c920_option {
81 struct shl_rvv_option base;
84int shl_c920_set_packn_layout(
struct csinn_session *sess,
bool packn_layout);
85struct shl_c920_option *shl_c920_get_graph_option(
struct csinn_session *sess);
86bool shl_c920_get_binary_model_op_init(
struct csinn_session *sess);
87void shl_c920_set_binary_model_op_init(
struct csinn_session *sess,
bool value);
Definition: csinn_data_structure.h:553
Definition: csinn_data_structure.h:502
Definition: csinn_data_structure.h:475