Skip to content

Multiplying 1x1 tf with mxn should result in elementwise multiplication? #166

@albheim

Description

@albheim

I think this would make sense since that is how it works in matlab. Could also be done with julia's broadcasting, but to me it seems smoother to just check if it's 1x1 and then do element-wise multiplication.

a = [s 1]
b = s
a*b # Right now this produces an error since a is 1x2 and b is 1x1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions