systemml-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Boehm (JIRA)" <>
Subject [jira] [Closed] (SYSTEMML-2131) Add support for bias_add and bias_mult
Date Sat, 16 Jun 2018 23:36:00 GMT


Matthias Boehm closed SYSTEMML-2131.
       Resolution: Done
         Assignee: Matthias Boehm
    Fix Version/s: SystemML 1.2

> Add support for bias_add and bias_mult
> --------------------------------------
>                 Key: SYSTEMML-2131
>                 URL:
>             Project: SystemML
>          Issue Type: Sub-task
>            Reporter: Matthias Boehm
>            Assignee: Matthias Boehm
>            Priority: Major
>             Fix For: SystemML 1.2
> The functions bias_add and bias_mult (see
for the semantics) are language constructs and operators that aim to improve performance by
fusing element-wise operations with the replication of bias terms. For example, bias_add is
defined as follows:
> {code}
> ones = matrix(1, rows=1, cols=height*width);
> output = input + matrix(bias %*% ones, rows=1, cols=numChannels*height*width)
> {code}
> The code generation frameworks will makes such custom operators obsolete. However, because
bias_add and bias_mult are mapped to specific {{ConvolutionOp}} instances they are not yet
supported by the codegen framework.
> In detail this task entails:
> 1) Create new cell template tests in {{functions.codegen.CellwiseTmplTest}} for both
> 2) Modify the open/merge/close conditions for cell templates in {{codegen.template.TemplateCell}}

> 3) Create a new codegen primitive for a mapped index lookups (for each cell in input
we want to access a specific cell in the bias vector)
> 4) Modify the CPlan construction in {{codegen.template.TemplateCell}} to create binary
plus or multiply and the mapped index lookup for all ConvolutionOp instances of type {{BIAS_ADD}}

This message was sent by Atlassian JIRA

View raw message