forked from mindspore-Ecosystem/mindspore
!49184 fix matrix adapter mapping name
Merge pull request !49184 from qiuzhongya/matrix
This commit is contained in:
commit
753fbf51c1
|
@ -181,8 +181,8 @@ constexpr const char kNameLRNGrad[] = "LRNGrad";
|
|||
constexpr const char kNameLSTMInputGrad[] = "LSTMInputGrad";
|
||||
constexpr const char kNameMatMul[] = "MatMul";
|
||||
constexpr const char kNameMatrixDiag[] = "MatrixDiag";
|
||||
constexpr const char kNameMatrixDiagPartD[] = "MatrixDiagPart";
|
||||
constexpr const char kNameMatrixSetDiagD[] = "MatrixSetDiag";
|
||||
constexpr const char kNameMatrixDiagPartD[] = "MatrixDiagPartD";
|
||||
constexpr const char kNameMatrixSetDiagD[] = "MatrixSetDiagD";
|
||||
constexpr const char kNameMaxPool3DGradGrad[] = "MaxPool3DGradGrad";
|
||||
constexpr const char kNameMaxPoolGradGrad[] = "MaxPoolGradGrad";
|
||||
constexpr const char kNameMaxPoolGradGradWithArgmax[] = "MaxPoolGradGradWithArgmax";
|
||||
|
|
|
@ -122,13 +122,13 @@ REG_ADPT_DESC(MatrixSetDiagD, kNameMatrixSetDiagD, ADPT_DESC(MatrixSetDiagD))
|
|||
INPUT_MAP(MatrixDiagPart) = {{1, INPUT_DESC(x)}};
|
||||
ATTR_MAP(MatrixDiagPart) = EMPTY_ATTR_MAP;
|
||||
OUTPUT_MAP(MatrixDiagPart) = {{0, OUTPUT_DESC(y)}};
|
||||
REG_ADPT_DESC(MatrixDiagPart, kMatrixDiagPartDOpName, ADPT_DESC(MatrixDiagPart))
|
||||
REG_ADPT_DESC(MatrixDiagPart, kMatrixDiagPartOpName, ADPT_DESC(MatrixDiagPart))
|
||||
|
||||
// MatrixSetDiag
|
||||
INPUT_MAP(MatrixSetDiag) = {{1, INPUT_DESC(x)}};
|
||||
ATTR_MAP(MatrixSetDiag) = EMPTY_ATTR_MAP;
|
||||
OUTPUT_MAP(MatrixSetDiag) = {{0, OUTPUT_DESC(y)}};
|
||||
REG_ADPT_DESC(MatrixSetDiag, kMatrixSetDiagDOpName, ADPT_DESC(MatrixSetDiag))
|
||||
REG_ADPT_DESC(MatrixSetDiag, kMatrixSetDiagOpName, ADPT_DESC(MatrixSetDiag))
|
||||
|
||||
// ConfusionMatrix
|
||||
INPUT_MAP(ConfusionMatrix) = {{1, INPUT_DESC(labels)}, {2, INPUT_DESC(predictions)}, {3, INPUT_DESC(weights)}};
|
||||
|
|
Loading…
Reference in New Issue