Skip to content

MLP implementation - #36

Closed
YunseonShin wants to merge 14 commits into
developfrom
reduction
Closed

YunseonShin wants to merge 14 commits into
developfrom
reduction

Conversation

@YunseonShin

Copy link
Copy Markdown
Collaborator

These commits are implementation about MLP forward and backward pass.

MLP needs many operations (Softmax, ReLU, etc.)

There were some bugs and fixed.

nn.linear's weight parameter should be transposed.

Check if the data layout stride is not equal to fixed layout stride.

Transpose operation is fused with matrix multiplication with tiling.

This transpose operation will be used to encode to custom instruction.
GEMM tile size can be dynamic. In this commit, tile size is determined
by minimium value between static tile size and input tensor size

Input and Weight both can be transposed. Check if the tensor box is
transposed and reflect on template code.

column major load & store are confusing. row and col values are switched
to operate them with row major implicitly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants