Skip to content
Snippets Groups Projects
Commit 12a0e64a authored by Mazdak Fatahi's avatar Mazdak Fatahi
Browse files

Upload New File

parent 8c089d97
No related branches found
No related tags found
No related merge requests found
%% Cell type:code id: tags:
``` python
import SpiNNakerHelpers as mySpiNNaker
input_files_name=['weights_fc1_0_0_25_0.7', 'weights_fc1_1_1_25_0.7']
output_files_name=['weights_fc1_0_0_25_0.7_not_transposed.txt', 'weights_fc1_1_1_25_0.7_not_transposed.txt']
a=mySpiNNaker.Extract_ConnectionFiles(input_files_name, output_files_name, Input_size=784, Output_size=400, n_samples_to_plot=4, Transpoed=True, Inpute_shape={'x':28, 'y':28} )
```
%% Output
Input file shape = (313600,)
784 400
Input file shape = (313600,)
784 400
%% Cell type:code id: tags:
``` python
input_files_name=[ 'weights_fc2_0_0_25_0.7', 'weights_fc2_1_1_25_0.7']
output_files_name=['weights_fc2_0_0_25_0.7_not_transposed.txt', 'weights_fc2_1_1_25_0.7_not_transposed.txt']
a=mySpiNNaker.Extract_ConnectionFiles(input_files_name, output_files_name, Input_size=400, Output_size=1600, n_samples_to_plot=9, Transpoed=False, Inpute_shape={'x':20, 'y':20} )
```
%% Output
Input file shape = (640000,)
Input file shape = (640000,)
%% Cell type:code id: tags:
``` python
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment