mindspore/docs/api/api_python/dataset/mindspore.dataset.OutputFor...

11 lines
448 B
ReStructuredText
Raw Normal View History

2022-02-22 19:26:10 +08:00
mindspore.dataset.OutputFormat
==============================
.. py:class:: mindspore.dataset.OutputFormat
通过API `get_all_neighbors` 获取所有相邻节点时,指定节点的存储格式。
- **OutputFormat.NORMAL** - 普通格式,不进行压缩。
- **OutputFormat.COO** - 采用COOCoordinate格式进行存储。
- **OutputFormat.CSR** - 采用CSRCompressed Sparse Row格式进行存储。