Support specifying missing value for tensor.tosparse()
#1795
Labels
Projects
Milestone
tensor.tosparse()
#1795
Is your feature request related to a problem? Please describe.
For now,
tensor.tosparse()
will just treat 0 as missing value, we can allow specifying another missing value.Describe the solution you'd like
e.g. support
tensor.tosparse(missing=np.nan)
.The text was updated successfully, but these errors were encountered: