稀疏张量#
Mars 支持稀疏张量,但目前只支持二维稀疏张量,未来将支持多维稀疏张量。
创建稀疏张量的函数#
Return a new tensor of given shape and type, filled with zeros. |
|
Return a 2-D tensor with ones on the diagonal and zeros elsewhere. |
|
Return the identity tensor. |
|
Return random integers from low (inclusive) to high (exclusive). |