Design
Models
API
API Mapping
Migration Guide
Syntax Support
Environment Variables
FAQ
RELEASE NOTES
Whether tensor is initialized.
Examples
>>> from mindspore import Tensor >>> import numpy as np >>> x = Tensor(np.array([[1, 2], [3, 4]])) >>> output = x.has_init >>> print(output) False