AnonSec Team
Server IP : 10.128.40.6  /  Your IP : 216.73.217.114
Web Server : Apache
System : Linux webd006.cluster128.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : logmcpe ( 111175)
PHP Version : 7.3.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /home/logmcpe/MC/../www/mcg/plugins/jszip/../../../TMCPRO/pages/python/python 2/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/logmcpe/MC/../www/mcg/plugins/jszip/../../../TMCPRO/pages/python/python 2/function_format.py
# -*- coding: utf-8 -*-
"""
Created on Thu Oct 13 18:17:21 2022

@author: pro
"""

import numpy as np

parametre =  {
         "W1" : np.random.randn(1,2),
         "N1" : np.random.rand(2,3) ,
         "W2" : np.random.rand(2,4),
         "N2" : np.random.rand(2,4),
    }

print(parametre["W1"])


for i in range(1,3):
 print("-------- couche {} --------------".format(i))
 print(parametre["W{}".format(i)])


""" autre d'afficher le contenu de ce dictionnaire c'est d'utiliser les str """

for i in range(1,3):
    print("-----------couche {}".format(i))
    print(parametre["W"+str(i)])


AnonSec - 2021