Skip to content
This repository was archived by the owner on Aug 11, 2020. It is now read-only.
This repository was archived by the owner on Aug 11, 2020. It is now read-only.

dot_engine-inl.h MSHADOW_STAND_ALONE BLASEngine<cpu, float>::gemm error #329

Open

Description

@semyonc

Hi!

The method BLASEngine<cpu,float>::gemm in MSHADOW_STAND_ALONE branch
contains the error in the shape of dst tensor(dot_engine-inl.h).

It is written
Tensor<cpu, 2, float> lhs((float*)B, Shape2(transpose_left ? k : n, transpose_left ? n : k)); // NOLINT()
Tensor<cpu, 2, float> rhs((float
)A, Shape2(transpose_right ? m : k, transpose_right ? k : m)); // NOLINT(*)
Tensor<cpu, 2, float> dst(C, Shape2(m, n)); <-- (wrong shape)

Must be
Tensor<cpu, 2, float> dst(C, Shape2(n, m));

This error occurs when executing operator 'dot' and 'batch_dot' in JavaScript

Activity

  1. szha commented on Aug 4, 2019

    @szha
    Member

    This code base has been donated to the Apache MXNet project per #373, and repo is deprecated. Future development and issue tracking should continue in Apache MXNet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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