#include <assert.h>
#include <inttypes.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
#include "xnnpack.h"
#include "xnnpack/common.h"
#include "xnnpack/log.h"
#include "xnnpack/node-type.h"
#include "xnnpack/operator-type.h"
#include "xnnpack/operator.h"
#include "xnnpack/subgraph-validation.h"
#include "xnnpack/subgraph.h"
#include "pthreadpool.h"
static enum xnn_status create_concatenate_operator_helper(
const struct xnn_node *node,
struct xnn_operator_data *opdata,
size_t index)
{ … }
static enum xnn_status create_concatenate_n_operator(
const struct xnn_node* node,
const struct xnn_value* values,
size_t num_values,
size_t num_inputs,
struct xnn_operator_data* opdata,
struct xnn_code_cache* code_cache,
xnn_weights_cache_t weights_cache)
{ … }
static enum xnn_status create_concatenate2_operator(
const struct xnn_node* node,
const struct xnn_value* values,
size_t num_values,
struct xnn_operator_data* opdata,
struct xnn_code_cache* code_cache,
xnn_weights_cache_t weights_cache)
{ … }
static enum xnn_status create_concatenate3_operator(
const struct xnn_node* node,
const struct xnn_value* values,
size_t num_values,
struct xnn_operator_data* opdata,
struct xnn_code_cache* code_cache,
xnn_weights_cache_t weights_cache)
{ … }
static enum xnn_status create_concatenate4_operator(
const struct xnn_node* node,
const struct xnn_value* values,
size_t num_values,
struct xnn_operator_data* opdata,
struct xnn_code_cache* code_cache,
xnn_weights_cache_t weights_cache)
{ … }
static enum xnn_status create_concatenate5_operator(
const struct xnn_node* node,
const struct xnn_value* values,
size_t num_values,
struct xnn_operator_data* opdata,
struct xnn_code_cache* code_cache,
xnn_weights_cache_t weights_cache)
{ … }
static enum xnn_status reshape_concatenate_operator_helper(
const struct xnn_operator_data *opdata,
size_t index,
size_t channels,
size_t input_stride,
size_t output_stride,
pthreadpool_t threadpool)
{ … }
static enum xnn_status reshape_concatenate_n_operator(
struct xnn_operator_data* opdata,
struct xnn_value* values,
size_t num_values,
size_t num_inputs,
pthreadpool_t threadpool)
{ … }
static enum xnn_status reshape_concatenate2_operator(
struct xnn_operator_data* opdata,
struct xnn_value* values,
size_t num_values,
pthreadpool_t threadpool)
{ … }
static enum xnn_status reshape_concatenate3_operator(
struct xnn_operator_data* opdata,
struct xnn_value* values,
size_t num_values,
pthreadpool_t threadpool)
{ … }
static enum xnn_status reshape_concatenate4_operator(
struct xnn_operator_data* opdata,
struct xnn_value* values,
size_t num_values,
pthreadpool_t threadpool)
{ … }
static enum xnn_status reshape_concatenate5_operator(
struct xnn_operator_data* opdata,
struct xnn_value* values,
size_t num_values,
pthreadpool_t threadpool)
{ … }
static enum xnn_status setup_concatenate_operator_helper(
const void* input_data,
void* output_data,
const struct xnn_operator_data *opdata,
size_t index,
pthreadpool_t threadpool)
{ … }
static enum xnn_status setup_concatenate_n_operator(
const struct xnn_operator_data* opdata,
const struct xnn_value* values,
size_t num_values,
size_t num_inputs,
pthreadpool_t threadpool)
{ … }
static enum xnn_status setup_concatenate2_operator(
const struct xnn_operator_data* opdata,
const struct xnn_value* values,
size_t num_values,
pthreadpool_t threadpool)
{ … }
static enum xnn_status setup_concatenate3_operator(
const struct xnn_operator_data* opdata,
const struct xnn_value* values,
size_t num_values,
pthreadpool_t threadpool)
{ … }
static enum xnn_status setup_concatenate4_operator(
const struct xnn_operator_data* opdata,
const struct xnn_value* values,
size_t num_values,
pthreadpool_t threadpool)
{ … }
static enum xnn_status setup_concatenate5_operator(
const struct xnn_operator_data* opdata,
const struct xnn_value* values,
size_t num_values,
pthreadpool_t threadpool)
{ … }
enum xnn_status check_input_value(
xnn_subgraph_t subgraph,
int32_t axis,
uint32_t input_id,
uint32_t output_id,
size_t nth,
enum xnn_node_type node_type)
{ … }
enum xnn_status check_input_compute_type(
xnn_subgraph_t subgraph,
uint32_t input_id,
uint32_t output_id,
const char* nth,
enum xnn_node_type node_type)
{ … }
enum xnn_status xnn_define_concatenate_n(
enum xnn_node_type node_type,
xnn_subgraph_t subgraph,
int32_t axis,
size_t num_inputs,
uint32_t* input_ids,
uint32_t output_id,
uint32_t flags)
{ … }
enum xnn_status xnn_define_concatenate2(
xnn_subgraph_t subgraph,
int32_t axis,
uint32_t input1_id,
uint32_t input2_id,
uint32_t output_id,
uint32_t flags)
{ … }
enum xnn_status xnn_define_concatenate3(
xnn_subgraph_t subgraph,
int32_t axis,
uint32_t input1_id,
uint32_t input2_id,
uint32_t input3_id,
uint32_t output_id,
uint32_t flags)
{ … }
enum xnn_status xnn_define_concatenate4(
xnn_subgraph_t subgraph,
int32_t axis,
uint32_t input1_id,
uint32_t input2_id,
uint32_t input3_id,
uint32_t input4_id,
uint32_t output_id,
uint32_t flags)
{ … }
enum xnn_status xnn_define_concatenate5(
xnn_subgraph_t subgraph,
int32_t axis,
uint32_t input1_id,
uint32_t input2_id,
uint32_t input3_id,
uint32_t input4_id,
uint32_t input5_id,
uint32_t output_id,
uint32_t flags)
{ … }