// File: /workspace/github_cpp_makefile_star2_O2/btbujiangjun[P]abcdl/example/sessionq.cpp
// Function: SessionQ::init(unsigned long, unsigned long)
void init(const size_t feature_dim, const size_t label_dim){
        fnn.set_alpha(0.05);
        fnn.set_batch_size(1024);
        /*
        std::vector<abcdl::fnn::Layer*> layers;
        layers.push_back(new abcdl::fnn::InputLayer(feature_dim));
        layers.push_back(new abcdl::fnn::FullConnLayer(feature_dim, 256, new abcdl::framework::ReluActivateFunc()));
        layers.push_back(new abcdl::fnn::FullConnLayer(256, 256, new abcdl::framework::ReluActivateFunc()));
        //layers.push_back(new abcdl::fnn::FullConnLayer(256, 256, new abcdl::framework::ReluActivateFunc()));
        //layers.push_back(new abcdl::fnn::FullConnLayer(256, 64, new abcdl::framework::ReluActivateFunc()));
        layers.push_back(new abcdl::fnn::FullConnLayer(256, 32, new abcdl::framework::ReluActivateFunc()));
        layers.push_back(new abcdl::fnn::OutputLayer(32, label_dim, new abcdl::framework::SigmoidActivateFunc(), new abcdl::framework::CrossEntropyCost()));
        fnn.set_layers(layers);
        */
        std::vector<abcdl::fnn::Layer*> layers;
        layers.push_back(new abcdl::fnn::InputLayer(feature_dim));
        layers.push_back(new abcdl::fnn::FullConnLayer(feature_dim, 256, new abcdl::framework::ReluActivateFunc()));
        layers.push_back(new abcdl::fnn::FullConnLayer(256, 64, new abcdl::framework::ReluActivateFunc()));
        layers.push_back(new abcdl::fnn::OutputLayer(64, label_dim, new abcdl::framework::SigmoidActivateFunc(), new abcdl::framework::CrossEntropyCost()));
        fnn.set_layers(layers);

        const std::string path = "./data/sessionq.model";
        fnn.load_model(path);
    }

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x58, %rsp
movq %rdx, %r14
movq %rsi, %r15
movq %rdi, %rbx
movl $0x3d4ccccd, (%rdi)     # imm = 0x3D4CCCCD
movq $0x400, 0x8(%rdi)       # imm = 0x400
xorps %xmm0, %xmm0
movaps %xmm0, 0x10(%rsp)
andq $0x0, 0x20(%rsp)
movl $0x168, %edi            # imm = 0x168
callq 0xb490
movq %rax, %r12
movq %rax, %rdi
movq %r15, %rsi
callq 0x12cb8
leaq 0x38(%rsp), %rsi
movq %r12, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x12ffa
movl $0x170, %edi            # imm = 0x170
callq 0xb490
movq %rax, %r12
movq %r14, 0x30(%rsp)
pushq $0x18
popq %rdi
callq 0xb490
movq %rax, %r13
xorps %xmm0, %xmm0
movaps %xmm0, (%rax)
andq $0x0, 0x10(%rax)
leaq 0x51956(%rip), %rbp     # 0x63e30
movq %rbp, (%rax)
movq %rax, %rdi
addq $0x8, %rdi
callq 0xdcc8
leaq 0x8(%rsp), %r8
andl $0x0, (%r8)
leaq 0x518df(%rip), %r14     # 0x63dd8
movq %r14, (%r13)
leaq 0xc(%rsp), %r9
movl $0x3f000000, (%r9)      # imm = 0x3F000000
movl $0x100, %edx            # imm = 0x100
movq %r12, %rdi
movq %r15, %rsi
movq %r13, %rcx
callq 0x12cd2
leaq 0x38(%rsp), %rsi
movq %r12, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x12ffa
movl $0x170, %edi            # imm = 0x170
callq 0xb490
movq %rax, %r15
pushq $0x18
popq %rdi
callq 0xb490
movq %rax, %r13
xorps %xmm0, %xmm0
andq $0x0, 0x10(%rax)
movaps %xmm0, (%rax)
movq %rbp, (%rax)
movq %rax, %rdi
addq $0x8, %rdi
callq 0xdcc8
leaq 0x8(%rsp), %r8
andl $0x0, (%r8)
movq %r14, (%r13)
leaq 0xc(%rsp), %r12
movl $0x3f000000, (%r12)     # imm = 0x3F000000
pushq $0x40
popq %rdx
movl $0x100, %esi            # imm = 0x100
movq %r15, %rdi
movq %r13, %rcx
movq %r12, %r9
callq 0x12cd2
leaq 0x38(%rsp), %rsi
movq %r15, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x12ffa
movl $0x1a0, %edi            # imm = 0x1A0
callq 0xb490
movq %rax, %r15
pushq $0x18
popq %rdi
callq 0xb490
movq %rax, %r13
xorps %xmm0, %xmm0
andq $0x0, 0x10(%rax)
movaps %xmm0, (%rax)
movq %rbp, (%rax)
movq %rax, %rdi
addq $0x8, %rdi
callq 0xdcc8
leaq 0x51885(%rip), %rax     # 0x63e60
movq %rax, (%r13)
pushq $0x18
popq %rdi
callq 0xb490
movq %rax, %rbp
xorps %xmm0, %xmm0
movaps %xmm0, (%rax)
andq $0x0, 0x10(%rax)
leaq 0x518fc(%rip), %rax     # 0x63ef8
movq %rax, (%rbp)
movq %rbp, %rdi
addq $0x8, %rdi
callq 0xdcc8
leaq 0x51895(%rip), %rax     # 0x63ea8
movq %rax, (%rbp)
leaq 0x8(%rsp), %r9
andl $0x0, (%r9)
movl $0x3f000000, 0xc(%rsp)  # imm = 0x3F000000
movq %r12, (%rsp)
pushq $0x40
popq %rsi
movq %r15, %rdi
movq 0x30(%rsp), %rdx
movq %r13, %rcx
movq %rbp, %r8
callq 0x12d7e
leaq 0x38(%rsp), %rsi
movq %r15, (%rsi)
leaq 0x10(%rsp), %rdi
callq 0x12ffa
leaq 0x10(%rsp), %rsi
movq %rbx, %rdi
callq 0x12e58
leaq 0x2bcdd(%rip), %rsi     # 0x3e345
leaq 0x38(%rsp), %rdi
leaq 0x8(%rsp), %rdx
callq 0xb180
leaq 0x38(%rsp), %rsi
movq %rbx, %rdi
callq 0x23482
leaq 0x38(%rsp), %rdi
callq 0xb1d0
leaq 0x10(%rsp), %rdi
callq 0x12caa
addq $0x58, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0xb1d0
jmp 0x1270c
jmp 0x12709
jmp 0x12709
jmp 0x12709
jmp 0x126fc
movq %rax, %rbx
movq %rbp, %rdi
jmp 0x126d4
jmp 0x126ce
jmp 0x12709
jmp 0x12709
jmp 0x126fc
movq %rax, %rbx
movq %r13, %rdi
callq 0xb470
jmp 0x126ff
jmp 0x126fc
jmp 0x12709
jmp 0x12709
jmp 0x126f4
movq %rax, %rbx
movq %r13, %rdi
callq 0xb470
jmp 0x126f7
jmp 0x126f4
jmp 0x12709
movq %rax, %rbx
movq %r12, %rdi
jmp 0x12702
movq %rax, %rbx
movq %r15, %rdi
callq 0xb470
jmp 0x1270c
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x12caa
movq %rbx, %rdi
callq 0xb7b0