#include <assert.h>
#include <stddef.h>
#include <stdint.h>
#include <stdlib.h>
#include "xnnpack.h"
#include "xnnpack/allocator.h"
#include "xnnpack/common.h"
#include "xnnpack/compute.h"
#include "xnnpack/config-types.h"
#include "xnnpack/config.h"
#include "xnnpack/log.h"
#include "xnnpack/operator-type.h"
#include "xnnpack/operator.h"
#include "xnnpack/params.h"
#include "pthreadpool.h"
static enum xnn_status create_channel_shuffle_nc(
size_t groups,
size_t group_channels,
size_t input_stride,
size_t output_stride,
uint32_t flags,
const struct xnn_zip_config* zip_config,
enum xnn_operator_type operator_type,
xnn_operator_t* channel_shuffle_op_out)
{ … }
enum xnn_status xnn_create_channel_shuffle_nc_x8(
size_t groups,
size_t group_channels,
size_t input_stride,
size_t output_stride,
uint32_t flags,
xnn_operator_t* channel_shuffle_op_out)
{ … }
enum xnn_status xnn_create_channel_shuffle_nc_x32(
size_t groups,
size_t group_channels,
size_t input_stride,
size_t output_stride,
uint32_t flags,
xnn_operator_t* channel_shuffle_op_out)
{ … }
static enum xnn_status reshape_channel_shuffle_nc(
xnn_operator_t channel_shuffle_op,
size_t batch_size,
uint32_t log2_element_size,
const struct xnn_zip_config zip[restrict XNN_MIN_ELEMENTS(1)])
{ … }
enum xnn_status xnn_reshape_channel_shuffle_nc_x8(
xnn_operator_t channel_shuffle_op,
size_t batch_size,
pthreadpool_t threadpool)
{ … }
enum xnn_status xnn_reshape_channel_shuffle_nc_x32(
xnn_operator_t channel_shuffle_op,
size_t batch_size,
pthreadpool_t threadpool)
{ … }
static enum xnn_status setup_channel_shuffle_nc(
xnn_operator_t channel_shuffle_op,
const void* input,
void* output)
{ … }
enum xnn_status xnn_setup_channel_shuffle_nc_x8(
xnn_operator_t channel_shuffle_op,
const void* input,
void* output)
{ … }
enum xnn_status xnn_setup_channel_shuffle_nc_x32(
xnn_operator_t channel_shuffle_op,
const void* input,
void* output)
{ … }