提交 e0cb33fa 编写于 作者: A A. Unique TensorFlower 提交者: TensorFlower Gardener

Add the support of uint8 type for Split op.

Change: 137572042
上级 81772c50
......@@ -40,6 +40,7 @@ void Split<Eigen::ThreadPoolDevice, T>::operator()(
#define DEFINE_CPU_KERNELS(T) template struct Split<Eigen::ThreadPoolDevice, T>;
TF_CALL_ALL_TYPES(DEFINE_CPU_KERNELS)
DEFINE_CPU_KERNELS(quint8)
} // namespace functor
} // namespace tensorflow
......@@ -251,6 +251,7 @@ class SplitOpGPU : public SplitOpBase<GPUDevice, T> {
SplitOpCPU<type>)
TF_CALL_ALL_TYPES(REGISTER_SPLIT);
REGISTER_SPLIT(quint8);
#undef REGISTER_SPLIT
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册