generate_protostr.sh 572 字节
Newer Older
1 2 3 4 5 6 7 8 9 10
#!/bin/bash

set -e
cd `dirname $0`
export PYTHONPATH=$PWD/../../../../

configs=(test_fc layer_activations projections test_print_layer
test_sequence_pooling test_lstmemory_layer test_grumemory_layer
last_first_seq test_expand_layer test_ntm_layers test_hsigmoid
img_layers util_layers simple_rnn_layers unused_layers test_cost_layers
11
test_rnn_group shared_fc shared_lstm test_cost_layers_with_weight
12
test_maxout test_bi_grumemory math_ops)
13 14 15 16 17 18 19


for conf in ${configs[*]}
do
    echo "Generating " $conf
    python -m paddle.utils.dump_config $conf.py > $conf.protostr
done