Refactory Tensor bool type and ToString()
1. Use C++ native bool type for tensor: Since we changed tensor data from vector<T> to unique_ptr<T[]>, boolean tensor can be implemented using C++ native bool type. 2. Improve ToString(): Try to make tensor string representation looks better.
Showing
想要评论请 注册 或 登录