mindspore/docs/api/api_python/ops/mindspore.ops.TensorSummary...

17 lines
500 B
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

mindspore.ops.TensorSummary
============================
.. py:class:: mindspore.ops.TensorSummary
通过TensorSummary将一个Tensor输出到协议缓冲区。
输入:
- **name** (str) - 输入变量的名称。
- **value** (Tensor) - Tensor的值Tensor的维度必须大于0。
异常:
- **TypeError** - 如果 `name` 不是str。
- **TypeError** - 如果 `value` 不是Tensor。
- **ValueError** - 如果 `value` 的维度等于0。