// File: /workspace/github_cpp_makefile_star2_O2/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 0x34e5(%rip), %rsi      # 0x6064
movq %rax, %rdi
callq 0x21a0
movq %rax, %r14
movl 0x34(%rbx), %ecx
leaq 0x34ed(%rip), %rsi      # 0x6081
leaq 0x34ed(%rip), %rdx      # 0x6088
xorl %r13d, %r13d
movq %rax, %rdi
xorl %eax, %eax
callq 0x21e0
leaq 0x34e4(%rip), %r15      # 0x6093
cmpq $0x7, %r13
je 0x2bf1
xorl %r12d, %r12d
movslq 0x34(%rbx), %rax
cmpq %rax, %r12
jge 0x2be1
movq 0x18(%rbx), %rax
movq (%rax,%r13,8), %rax
movsd (%rax,%r12,8), %xmm0
movq %r14, %rdi
movq %r15, %rsi
movb $0x1, %al
callq 0x21e0
incq %r12
jmp 0x2bb8
pushq $0xa
popq %rdi
movq %r14, %rsi
callq 0x21c0
incq %r13
jmp 0x2baf
movl 0x34(%rbx), %edx
leaq 0x349e(%rip), %rsi      # 0x6099
xorl %r13d, %r13d
movq %r14, %rdi
xorl %eax, %eax
callq 0x21e0
leaq 0x3484(%rip), %r12      # 0x6093
movslq 0x34(%rbx), %rax
cmpq %rax, %r13
jge 0x2c51
xorl %r15d, %r15d
cmpq $0x7, %r15
je 0x2c41
movq 0x28(%rbx), %rax
movq (%rax,%r13,8), %rax
movsd (%rax,%r15,8), %xmm0
movq %r14, %rdi
movq %r12, %rsi
movb $0x1, %al
callq 0x21e0
incq %r15
jmp 0x2c1b
pushq $0xa
popq %rdi
movq %r14, %rsi
callq 0x21c0
incq %r13
jmp 0x2c0f
leaq 0x3450(%rip), %rdi      # 0x60a8
pushq $0xb
popq %rsi
pushq $0x1
popq %rdx
movq %r14, %rcx
callq 0x2260
xorl %r13d, %r13d
leaq 0x3423(%rip), %r15      # 0x6093
movslq 0x34(%rbx), %rax
cmpq %rax, %r13
jge 0x2cb6
xorl %r12d, %r12d
cltq
cmpq %rax, %r12
jge 0x2ca6
movq 0x20(%rbx), %rax
movq (%rax,%r13,8), %rax
movsd (%rax,%r12,8), %xmm0
movq %r14, %rdi
movq %r15, %rsi
movb $0x1, %al
callq 0x21e0
incq %r12
movl 0x34(%rbx), %eax
jmp 0x2c7c
pushq $0xa
popq %rdi
movq %r14, %rsi
callq 0x21c0
incq %r13
jmp 0x2c70
leaq 0x33f7(%rip), %rdi      # 0x60b4
pushq $0xa
popq %rsi
pushq $0x1
popq %rdx
movq %r14, %rcx
callq 0x2260
xorl %r13d, %r13d
leaq 0x33be(%rip), %r12      # 0x6093
movslq 0x34(%rbx), %rax
cmpq %rax, %r13
jge 0x2d1a
pushq $0xa
popq %rdi
movq %r14, %rsi
callq 0x21c0
xorl %r15d, %r15d
movslq 0x30(%rbx), %rax
cmpq %rax, %r15
jge 0x2d15
movq 0x10(%rbx), %rax
movq (%rax,%r13,8), %rax
movsd (%rax,%r15,8), %xmm0
movq %r14, %rdi
movq %r12, %rsi
movb $0x1, %al
callq 0x21e0
incq %r15
jmp 0x2cec
incq %r13
jmp 0x2cd5
movq %r14, %rdi
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x2170