File size: 652 Bytes
835424e |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
from engine import *
from engine_extra import *
import numpy as np
nnr = nn()
nnc = extra_engine()
mmc1 = nnr.nnp(2,2,2,2)
mmc2 = nnc.ext_engine(3,3,3)
mult_mmc = mmc1*mmc2
#---------------------------------
sigma_1 = nnr.nnp(2,2,2,2)
sigma_2 = nnc.ext_engine(2,2,2)
sigma_nc = sigma_1**sigma_2
#---------------------------------
#sigma_opt = sigma_1/sigma_2*sigma_nc**sigma_1+sigma_1+sigma_2*np.pi
#sigma_opt_2 = np.array([sigma_opt])*np.pi/sigma_opt
#show = nnr.nnp(2,2,2,2)
#print('dim:', show)
#print('mult mmc:', mult_mmc, 'mmc1:', mmc1, 'mmc2:', mmc2)
#---------------------------------
print('sigma nc:', sigma_nc)
|