Based on Nekogram. Key additions: - Rebrand to FoxiGram (app name, APK name, applicationId com.foxigram.app) - Embedded Xray (VLESS+Reality) proxy client via JNI libxray.so - Bundled hidden one-tap proxies (LTE + WiFi), read-only in UI - Auto-restore proxy on restart, rebind to active network (LTE/WiFi) - Server credentials externalized to git-ignored XrayServers.java (+ template) - libxray Go source included; compiled .so, keystore, google-services.json ignored
34 lines
545 B
C
34 lines
545 B
C
#ifndef RNN_DATA_H
|
|
#define RNN_DATA_H
|
|
|
|
#include "rnn.h"
|
|
|
|
struct RNNModel {
|
|
int input_dense_size;
|
|
const DenseLayer *input_dense;
|
|
|
|
int vad_gru_size;
|
|
const GRULayer *vad_gru;
|
|
|
|
int noise_gru_size;
|
|
const GRULayer *noise_gru;
|
|
|
|
int denoise_gru_size;
|
|
const GRULayer *denoise_gru;
|
|
|
|
int denoise_output_size;
|
|
const DenseLayer *denoise_output;
|
|
|
|
int vad_output_size;
|
|
const DenseLayer *vad_output;
|
|
};
|
|
|
|
struct RNNState {
|
|
const RNNModel *model;
|
|
float *vad_gru_state;
|
|
float *noise_gru_state;
|
|
float *denoise_gru_state;
|
|
};
|
|
|
|
|
|
#endif
|