enable copyFrom of MKLDNNMatrix

revert-4814-Add_sequence_project_op
tensor-tang 7 years ago
parent ac6f06699b
commit 02fdf24115

@ -91,6 +91,11 @@ public:
const MKLDNNMatrixPtr& dst,
bool checkData = true);
void copyFrom(const Matrix& src) {
// TODO(TJ): reorder data if this format is not nchw or x
m_->copyFrom(src);
}
public:
/**
* Reorder this MKLDNNMatrix from other format.

Loading…
Cancel
Save