#include <iostream>
#include <fst/fstlib.h>
#include <fst/flags.h>
#include "tropical-sparse-tuple-weight.h"
#include "tropical-sparse-tuple-weight-decls.h"
Go to the source code of this file.
|
| DEFINE_bool (expand, false,"convert a 32 bit tuple arc to a 64 bit tuple arc") |
|
| DEFINE_bool (stdarc, false,"map 32 bit vector weights to a single stdarc dimension") |
|
| DEFINE_bool (tuplearc, false,"map a single 32 bit stdarc dimension to a sparse tuple arc") |
|
| DEFINE_int32 (k, 0,"vector dimension to map") |
|
| DEFINE_bool (dot, false,"perform a dot product on the vector weights") |
|
int | main (int argc, char **argv) |
|
DEFINE_bool |
( |
expand |
, |
|
|
false |
, |
|
|
"convert a 32 bit tuple arc to a 64 bit tuple arc" |
|
|
) |
| |
DEFINE_bool |
( |
stdarc |
, |
|
|
false |
, |
|
|
"map 32 bit vector weights to a single stdarc dimension" |
|
|
) |
| |
DEFINE_bool |
( |
tuplearc |
, |
|
|
false |
, |
|
|
"map a single 32 bit stdarc dimension to a sparse tuple arc" |
|
|
) |
| |
DEFINE_bool |
( |
dot |
, |
|
|
false |
, |
|
|
"perform a dot product on the vector weights" |
|
|
) |
| |
DEFINE_int32 |
( |
k |
, |
|
|
0 |
, |
|
|
"vector dimension to map" |
|
|
) |
| |
int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |