// File: /workspace/github_cpp_makefile_star2_O3/huiwenliuge[P]EmoAnaer/src/RNNet.cpp
// Function: RNNet::prtPara(char const*)
void RNNet::prtPara(const char* path){
    FILE* paratmp=fopen(path,"w");
    
    int i,j;
    fprintf(paratmp,"%s %d\n","Para_Mat_W",hidlayerNUM);
    for(i=0;i<EMOTIONNUM;++i){
        for(j=0;j<hidlayerNUM;++j)
            fprintf(paratmp,"#%lf#",k2out[i][j]);
        fputc('\n',paratmp);
    }

    fprintf(paratmp,"Para_Mat_B %d\n",hidlayerNUM);
    for(i=0;i<hidlayerNUM;++i){
        for(j=0;j<EMOTIONNUM;++j)
            fprintf(paratmp,"#%lf#",ro2h[i][j]);
        fputc('\n',paratmp);
    }

    fprintf(paratmp,"Para_Mat_T\n");
    for(i=0;i<hidlayerNUM;++i){
        for(j=0;j<hidlayerNUM;++j)
            fprintf(paratmp,"#%lf#",rh2h[i][j]);
        fputc('\n',paratmp);
    }

    fprintf(paratmp,"Para_Mat_U");
    for(i=0;i<hidlayerNUM;++i){
        fputc('\n',paratmp);
        for(j=0;j<featureNUM;++j)
            fprintf(paratmp,"#%lf#",in2hid[i][j]);
    }
    
    fclose(paratmp);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %rax
movq %rdi, %rbx
leaq 0x334b(%rip), %rsi      # 0x6064
movq %rax, %rdi
callq 0x21c0
movq %rax, %r14
movl 0x34(%rbx), %ecx
leaq 0x3353(%rip), %rsi      # 0x6081
leaq 0x3353(%rip), %rdx      # 0x6088
xorl %r12d, %r12d
movq %rax, %rdi
xorl %eax, %eax
callq 0x2200
leaq 0x334a(%rip), %r15      # 0x6093
cmpl $0x0, 0x34(%rbx)
jle 0x2d79
xorl %r13d, %r13d
movq 0x18(%rbx), %rax
movq (%rax,%r12,8), %rax
movsd (%rax,%r13,8), %xmm0
movq %r14, %rdi
movq %r15, %rsi
movb $0x1, %al
callq 0x2200
incq %r13
movslq 0x34(%rbx), %rax
cmpq %rax, %r13
jl 0x2d52
movl $0xa, %edi
movq %r14, %rsi
callq 0x21e0
incq %r12
cmpq $0x7, %r12
jne 0x2d49
movl 0x34(%rbx), %edx
leaq 0x3300(%rip), %rsi      # 0x6099
movq %r14, %rdi
xorl %eax, %eax
callq 0x2200
cmpl $0x0, 0x34(%rbx)
jle 0x2df3
xorl %r12d, %r12d
leaq 0x32e0(%rip), %r15      # 0x6093
xorl %r13d, %r13d
movq 0x28(%rbx), %rax
movq (%rax,%r12,8), %rax
movsd (%rax,%r13,8), %xmm0
movq %r14, %rdi
movq %r15, %rsi
movb $0x1, %al
callq 0x2200
incq %r13
cmpq $0x7, %r13
jne 0x2db6
movl $0xa, %edi
movq %r14, %rsi
callq 0x21e0
incq %r12
movslq 0x34(%rbx), %rax
cmpq %rax, %r12
jl 0x2db3
leaq 0x32ae(%rip), %rdi      # 0x60a8
movl $0xb, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x2290
movl 0x34(%rbx), %eax
testl %eax, %eax
jle 0x2e64
xorl %r12d, %r12d
leaq 0x3276(%rip), %r15      # 0x6093
testl %eax, %eax
jle 0x2e4b
xorl %r13d, %r13d
movq 0x20(%rbx), %rax
movq (%rax,%r12,8), %rax
movsd (%rax,%r13,8), %xmm0
movq %r14, %rdi
movq %r15, %rsi
movb $0x1, %al
callq 0x2200
incq %r13
movslq 0x34(%rbx), %rax
cmpq %rax, %r13
jl 0x2e24
movl $0xa, %edi
movq %r14, %rsi
callq 0x21e0
incq %r12
movslq 0x34(%rbx), %rax
cmpq %rax, %r12
jl 0x2e1d
leaq 0x3249(%rip), %rdi      # 0x60b4
movl $0xa, %esi
movl $0x1, %edx
movq %r14, %rcx
callq 0x2290
cmpl $0x0, 0x34(%rbx)
jle 0x2ed6
xorl %r12d, %r12d
leaq 0x3206(%rip), %r15      # 0x6093
movl $0xa, %edi
movq %r14, %rsi
callq 0x21e0
cmpl $0x0, 0x30(%rbx)
jle 0x2eca
xorl %r13d, %r13d
movq 0x10(%rbx), %rax
movq (%rax,%r12,8), %rax
movsd (%rax,%r13,8), %xmm0
movq %r14, %rdi
movq %r15, %rsi
movb $0x1, %al
callq 0x2200
incq %r13
movslq 0x30(%rbx), %rax
cmpq %rax, %r13
jl 0x2ea3
incq %r12
movslq 0x34(%rbx), %rax
cmpq %rax, %r12
jl 0x2e8d
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2180