提交 1adc24d1 编写于 作者: Z zhaojiaying01

add fetch kernel for CPU

上级 f8008f5d
...@@ -18,10 +18,8 @@ namespace operators { ...@@ -18,10 +18,8 @@ namespace operators {
template <typename DeviceType, typename T> template <typename DeviceType, typename T>
void FetchOp<DeviceType, T>::InferShape() const { void FetchOp<DeviceType, T>::InferShape() const {
DLOG << "~~~~~~~~~~~~~~!!";
auto x_dims = this->param_.InputX()->dims(); auto x_dims = this->param_.InputX()->dims();
this->param_.Out()->Resize(x_dims); this->param_.Out()->Resize(x_dims);
DLOG << "~~~~~~~~~~~~~~!!!";
} }
} // namespace operators } // namespace operators
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册