diff --git a/lite/kernels/mlu/bridges/graph.h b/lite/kernels/mlu/bridges/graph.h index b22af08baa3e3eb3be559afa753888cbdd42bbe7..f80b55c00fc3270097b7f299d6718e00a2bee78a 100644 --- a/lite/kernels/mlu/bridges/graph.h +++ b/lite/kernels/mlu/bridges/graph.h @@ -209,10 +209,6 @@ class Graph { nodes_[tensor_name]->mlu_tensor(), alloc_data, false)); } else if (fp_type_ == CNML_DATA_FLOAT16) { void* data_fp16 = RegisterConstData<::paddle::lite::fluid::float16>(len); - // for (size_t i = 0; i < len; ++i) { - // static_cast<::paddle::lite::fluid::float16*>(data_fp16)[i] - // = static_cast<::paddle::lite::fluid::float16>(data[i]); - // } CNRT_CALL( cnrtCastDataType(const_cast(static_cast(data)), CNRT_FLOAT32,