// File: xbai0624[P]dnn/src/ConstructLayer.cpp
// Function: ConstructLayer::ConstructLayer(LayerType, int, std::pair<unsigned long, unsigned long>)
ConstructLayer::ConstructLayer(LayerType t, int n_kernels, std::pair<size_t, size_t> d)
{
    // for cnn and pooling layer
    __type = t;
    SetNumberOfKernelsCNN((size_t)n_kernels);
    // kernel size
    SetKernelSizeCNN(d);
}

// Assembly:
subq $0x188, %rsp            # imm = 0x188
movq %rcx, 0x178(%rsp)
movq %r8, 0x180(%rsp)
movq %rdi, 0x170(%rsp)
movl %esi, 0x16c(%rsp)
movl %edx, 0x168(%rsp)
movq 0x170(%rsp), %rdi
movq %rdi, 0x138(%rsp)
callq 0x3afb0
movq 0x138(%rsp), %rdi
leaq 0x63cd7(%rip), %rax     # 0x6a538
movq %rax, (%rdi)
movl $0x0, 0xc(%rdi)
movq $0x0, 0x10(%rdi)
movq $0x0, 0x18(%rdi)
addq $0x20, %rdi
callq 0x1f020
jmp 0x6886
movq 0x138(%rsp), %rdi
addq $0x30, %rdi
callq 0x1f020
jmp 0x6899
movq 0x138(%rsp), %rdi
addq $0x40, %rdi
movq %rdi, 0x28(%rsp)
callq 0x1f040
movq 0x138(%rsp), %rdi
movl $0x0, 0x58(%rdi)
addq $0x60, %rdi
movq %rdi, 0x30(%rsp)
callq 0x1f050
movq 0x138(%rsp), %rdi
addq $0x78, %rdi
movq %rdi, 0x38(%rsp)
callq 0x1f050
movq 0x138(%rsp), %rdi
addq $0x90, %rdi
movq %rdi, 0x40(%rsp)
callq 0x1f060
movq 0x138(%rsp), %rdi
addq $0xa8, %rdi
movq %rdi, 0x48(%rsp)
callq 0x1f060
movq 0x138(%rsp), %rdi
movabsq $0x3fb999999999999a, %rax # imm = 0x3FB999999999999A
movq %rax, 0xc0(%rdi)
movl $0x0, 0xc8(%rdi)
movq $0x0, 0xd0(%rdi)
addq $0xd8, %rdi
movq %rdi, 0x50(%rsp)
callq 0x1f050
movq 0x138(%rsp), %rdi
addq $0xf0, %rdi
movq %rdi, 0x58(%rsp)
callq 0x1f050
movq 0x138(%rsp), %rdi
addq $0x108, %rdi            # imm = 0x108
movq %rdi, 0x60(%rsp)
callq 0x1f070
movq 0x138(%rsp), %rdi
addq $0x120, %rdi            # imm = 0x120
movq %rdi, 0x68(%rsp)
callq 0x1f080
movq 0x138(%rsp), %rdi
addq $0x138, %rdi            # imm = 0x138
movq %rdi, 0x70(%rsp)
callq 0x1f060
movq 0x138(%rsp), %rdi
addq $0x150, %rdi            # imm = 0x150
movq %rdi, 0x78(%rsp)
callq 0x1f060
movq 0x138(%rsp), %rdi
addq $0x168, %rdi            # imm = 0x168
movq %rdi, 0x80(%rsp)
callq 0x1f060
movq 0x138(%rsp), %rdi
addq $0x180, %rdi            # imm = 0x180
movq %rdi, 0x88(%rsp)
callq 0x1f060
movq 0x138(%rsp), %rdi
addq $0x198, %rdi            # imm = 0x198
movq %rdi, 0x90(%rsp)
callq 0x1f060
movq 0x138(%rsp), %rdi
addq $0x1b0, %rdi            # imm = 0x1B0
movq %rdi, 0x98(%rsp)
callq 0x1f060
movq 0x138(%rsp), %rdi
addq $0x1c8, %rdi            # imm = 0x1C8
movq %rdi, 0xa0(%rsp)
callq 0x1f060
movq 0x138(%rsp), %rdi
addq $0x1e0, %rdi            # imm = 0x1E0
movq %rdi, 0xa8(%rsp)
callq 0x1f060
movq 0x138(%rsp), %rdi
addq $0x1f8, %rdi            # imm = 0x1F8
movq %rdi, 0xb0(%rsp)
callq 0x1f090
movq 0x138(%rsp), %rdi
movb $0x0, 0x210(%rdi)
addq $0x218, %rdi            # imm = 0x218
movq %rdi, 0xb8(%rsp)
callq 0x1f060
movq 0x138(%rsp), %rdi
addq $0x230, %rdi            # imm = 0x230
movq %rdi, 0xc0(%rsp)
callq 0x1f060
movq 0x138(%rsp), %rdi
addq $0x248, %rdi            # imm = 0x248
movq %rdi, 0xc8(%rsp)
callq 0x1f060
movq 0x138(%rsp), %rdi
addq $0x260, %rdi            # imm = 0x260
movq %rdi, 0xd0(%rsp)
callq 0x1f060
movq 0x138(%rsp), %rdi
addq $0x278, %rdi            # imm = 0x278
movq %rdi, 0xd8(%rsp)
callq 0x1f060
movq 0x138(%rsp), %rdi
addq $0x290, %rdi            # imm = 0x290
movq %rdi, 0xe0(%rsp)
callq 0x1f060
movq 0x138(%rsp), %rdi
addq $0x2a8, %rdi            # imm = 0x2A8
movq %rdi, 0xe8(%rsp)
callq 0x1f060
movq 0x138(%rsp), %rdi
addq $0x2c0, %rdi            # imm = 0x2C0
movq %rdi, 0xf0(%rsp)
callq 0x1f060
movq 0x138(%rsp), %rdi
addq $0x2d8, %rdi            # imm = 0x2D8
movq %rdi, 0xf8(%rsp)
callq 0x1f060
movq 0x138(%rsp), %rdi
addq $0x2f0, %rdi            # imm = 0x2F0
movq %rdi, 0x100(%rsp)
callq 0x1f060
movq 0x138(%rsp), %rdi
addq $0x308, %rdi            # imm = 0x308
movq %rdi, 0x108(%rsp)
callq 0x1f050
movq 0x138(%rsp), %rdi
addq $0x320, %rdi            # imm = 0x320
movq %rdi, 0x110(%rsp)
callq 0x1f050
movq 0x138(%rsp), %rdi
addq $0x338, %rdi            # imm = 0x338
movq %rdi, 0x118(%rsp)
callq 0x1f050
movq 0x138(%rsp), %rdi
addq $0x350, %rdi            # imm = 0x350
movq %rdi, 0x120(%rsp)
callq 0x1f050
movq 0x138(%rsp), %rdi
addq $0x368, %rdi            # imm = 0x368
movq %rdi, 0x128(%rsp)
callq 0x1f050
movq 0x138(%rsp), %rdi
addq $0x380, %rdi            # imm = 0x380
movq %rdi, 0x130(%rsp)
callq 0x1f050
movq 0x138(%rsp), %rdi
addq $0x398, %rdi            # imm = 0x398
callq 0x1f0a0
jmp 0x6c71
movq 0x138(%rsp), %rdi
addq $0x3b0, %rdi            # imm = 0x3B0
callq 0x1f0a0
jmp 0x6c87
movq 0x138(%rsp), %rdi
movb $0x0, 0x3c8(%rdi)
movl $0x2, 0x3cc(%rdi)
movq $0x0, 0x3d0(%rdi)
movabsq $0x3fe0000000000000, %rax # imm = 0x3FE0000000000000
movq %rax, 0x3d8(%rdi)
movl $0x1, 0x3e0(%rdi)
movl $0x0, 0x3e4(%rdi)
movl $0x0, 0x3e8(%rdi)
movq $0x0, 0x3f0(%rdi)
movq $0x0, 0x3f8(%rdi)
movq $0x0, 0x400(%rdi)
movl $0x2, 0x408(%rdi)
movl $0x0, 0x40c(%rdi)
addq $0x410, %rdi            # imm = 0x410
movq %rdi, 0x8(%rsp)
callq 0x1f090
movq 0x138(%rsp), %rdi
addq $0x428, %rdi            # imm = 0x428
movq %rdi, 0x10(%rsp)
callq 0x1f090
movq 0x138(%rsp), %rdi
movl $0x1, 0x440(%rdi)
addq $0x448, %rdi            # imm = 0x448
movq %rdi, 0x18(%rsp)
callq 0x1f050
movq 0x138(%rsp), %rdi
addq $0x460, %rdi            # imm = 0x460
movq %rdi, 0x20(%rsp)
callq 0x1f050
movq 0x138(%rsp), %rdi
movabsq $0x3ff0000000000000, %rax # imm = 0x3FF0000000000000
movq %rax, 0x478(%rdi)
movq %rax, 0x480(%rdi)
movb $0x1, 0x488(%rdi)
movl 0x16c(%rsp), %eax
movl %eax, 0xc(%rdi)
movslq 0x168(%rsp), %rsi
movq (%rdi), %rax
movq 0xa8(%rax), %rax
callq *%rax
jmp 0x6dbc
movq 0x138(%rsp), %rdi
movups 0x178(%rsp), %xmm0
movaps %xmm0, 0x140(%rsp)
movq 0x140(%rsp), %rsi
movq 0x148(%rsp), %rdx
movq (%rdi), %rax
movq 0xb0(%rax), %rax
callq *%rax
jmp 0x6df2
addq $0x188, %rsp            # imm = 0x188
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x160(%rsp)
movl %eax, 0x15c(%rsp)
jmp 0x6ffe
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x160(%rsp)
movl %eax, 0x15c(%rsp)
jmp 0x6e65
movq 0x20(%rsp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, 0x160(%rsp)
movl %eax, 0x15c(%rsp)
callq 0x1f0d0
movq 0x18(%rsp), %rdi
callq 0x1f0d0
movq 0x10(%rsp), %rdi
callq 0x1f190
movq 0x8(%rsp), %rdi
callq 0x1f190
movq 0x130(%rsp), %rdi
callq 0x1f0d0
movq 0x128(%rsp), %rdi
callq 0x1f0d0
movq 0x120(%rsp), %rdi
callq 0x1f0d0
movq 0x118(%rsp), %rdi
callq 0x1f0d0
movq 0x110(%rsp), %rdi
callq 0x1f0d0
movq 0x108(%rsp), %rdi
callq 0x1f0d0
movq 0x100(%rsp), %rdi
callq 0x1f130
movq 0xf8(%rsp), %rdi
callq 0x1f130
movq 0xf0(%rsp), %rdi
callq 0x1f130
movq 0xe8(%rsp), %rdi
callq 0x1f130
movq 0xe0(%rsp), %rdi
callq 0x1f130
movq 0xd8(%rsp), %rdi
callq 0x1f130
movq 0xd0(%rsp), %rdi
callq 0x1f130
movq 0xc8(%rsp), %rdi
callq 0x1f130
movq 0xc0(%rsp), %rdi
callq 0x1f130
movq 0xb8(%rsp), %rdi
callq 0x1f130
movq 0xb0(%rsp), %rdi
callq 0x1f190
movq 0xa8(%rsp), %rdi
callq 0x1f130
movq 0xa0(%rsp), %rdi
callq 0x1f130
movq 0x98(%rsp), %rdi
callq 0x1f130
movq 0x90(%rsp), %rdi
callq 0x1f130
movq 0x88(%rsp), %rdi
callq 0x1f130
movq 0x80(%rsp), %rdi
callq 0x1f130
movq 0x78(%rsp), %rdi
callq 0x1f130
movq 0x70(%rsp), %rdi
callq 0x1f130
movq 0x68(%rsp), %rdi
callq 0x1f1f0
movq 0x60(%rsp), %rdi
callq 0x1f250
movq 0x58(%rsp), %rdi
callq 0x1f0d0
movq 0x50(%rsp), %rdi
callq 0x1f0d0
movq 0x48(%rsp), %rdi
callq 0x1f130
movq 0x40(%rsp), %rdi
callq 0x1f130
movq 0x38(%rsp), %rdi
callq 0x1f0d0
movq 0x30(%rsp), %rdi
callq 0x1f0d0
movq 0x28(%rsp), %rdi
callq 0x1f2b0
movq 0x138(%rsp), %rdi
callq 0x3aff0
movq 0x160(%rsp), %rdi
callq 0x43f0
nopl (%rax,%rax)