Classes | Functions
rnn.c File Reference
#include "network.h"
#include "cost_layer.h"
#include "utils.h"
#include "blas.h"
#include "parser.h"
Include dependency graph for rnn.c:

Go to the source code of this file.

Classes

struct  float_pair

Functions

float_pair get_rnn_data (unsigned char *text, size_t *offsets, int characters, size_t len, int batch, int steps)
float_pair get_rnn_token_data (int *tokens, size_t *offsets, int characters, size_t len, int batch, int steps)
void print_symbol (int n, char **tokens)
int * read_tokenized_data (char *filename, size_t *read)
char ** read_tokens (char *filename, size_t *read)
void reset_rnn_state (network net, int b)
void run_char_rnn (int argc, char **argv)
void test_char_rnn (char *cfgfile, char *weightfile, int num, char *seed, float temp, int rseed, char *token_file)
void test_tactic_rnn (char *cfgfile, char *weightfile, int num, float temp, int rseed, char *token_file)
void train_char_rnn (char *cfgfile, char *weightfile, char *filename, int clear, int tokenized)
void valid_char_rnn (char *cfgfile, char *weightfile, char *seed)
void valid_tactic_rnn (char *cfgfile, char *weightfile, char *seed)
void vec_char_rnn (char *cfgfile, char *weightfile, char *seed)

Function Documentation

float_pair get_rnn_data ( unsigned char *  text,
size_t *  offsets,
int  characters,
size_t  len,
int  batch,
int  steps 
)

Definition at line 86 of file rnn.c.

float_pair get_rnn_token_data ( int *  tokens,
size_t *  offsets,
int  characters,
size_t  len,
int  batch,
int  steps 
)

Definition at line 60 of file rnn.c.

void print_symbol ( int  n,
char **  tokens 
)

Definition at line 217 of file rnn.c.

int* read_tokenized_data ( char *  filename,
size_t *  read 
)

Definition at line 16 of file rnn.c.

char** read_tokens ( char *  filename,
size_t *  read 
)

Definition at line 39 of file rnn.c.

void reset_rnn_state ( network  net,
int  b 
)

Definition at line 116 of file rnn.c.

void run_char_rnn ( int  argc,
char **  argv 
)

Definition at line 469 of file rnn.c.

void test_char_rnn ( char *  cfgfile,
char *  weightfile,
int  num,
char *  seed,
float  temp,
int  rseed,
char *  token_file 
)

Definition at line 225 of file rnn.c.

void test_tactic_rnn ( char *  cfgfile,
char *  weightfile,
int  num,
float  temp,
int  rseed,
char *  token_file 
)

Definition at line 282 of file rnn.c.

void train_char_rnn ( char *  cfgfile,
char *  weightfile,
char *  filename,
int  clear,
int  tokenized 
)

Definition at line 129 of file rnn.c.

void valid_char_rnn ( char *  cfgfile,
char *  weightfile,
char *  seed 
)

Definition at line 379 of file rnn.c.

void valid_tactic_rnn ( char *  cfgfile,
char *  weightfile,
char *  seed 
)

Definition at line 327 of file rnn.c.

void vec_char_rnn ( char *  cfgfile,
char *  weightfile,
char *  seed 
)

Definition at line 420 of file rnn.c.



rail_object_detector
Author(s):
autogenerated on Sat Jun 8 2019 20:26:31