fix comments error.

This commit is contained in:
zhangyi 2021-09-22 10:20:05 +08:00
parent a17915b2c4
commit 2421a74b6b
1 changed files with 2 additions and 2 deletions

View File

@ -906,8 +906,8 @@ class Model:
This is a pre-compile function. The arguments should be the same with model.predict() function.
Args:
predict_data (Optional[Tensor, list[Tensor], tuple[Tensor]]): The predict data, can be a single tensor,
a list of tensor, or a tuple of tensor.
predict_data (Optional[Tensor, list[Tensor], tuple[Tensor]]): The predict data, can be a single tensor,
a list of tensor, or a tuple of tensor.
Returns:
Tensor, array(s) of predictions.