brute_force_parallel.sh 565 Bytes
Newer Older
Long Chung Chan's avatar
Long Chung Chan committed
1 2 3 4 5 6 7 8 9 10 11 12
#! /bin/bash

# declare -a nets=(FasterRCNN mobilenet yolo_tiny googlenet alexnet AlphaGoZero ncf_rec resnet_50_v1)
declare -a layers=(46 27 10 58 8 8 8 53)
declare -a max_partitions=(7 7 7 7 7 7 7 7)

net=$1
for partitions in `seq 2 ${max_partitions[$i]}`;
do
    for res_unit in 960;
    do
        for target in DRAM_cycle;
LongChan's avatar
LongChan committed
13
        do
Long Chung Chan's avatar
Long Chung Chan committed
14 15 16 17 18 19
            echo $net $partitions $target
            python3 brute_force_approach.py \
                ${net} \
                ${partitions} \
                ${res_unit} \
                ${target}
LongChan's avatar
LongChan committed
20
        done
Long Chung Chan's avatar
Long Chung Chan committed
21 22
    done
done