mindspore_gl.nn.GNNCell

class mindspore_gl.nn.GNNCell[source]

GNN Cell class.

Construct function will be translated by default.

static disable_display()[source]

Disable display code comparison.

Examples

>>> from mindspore_gl.nn import GNNCell
>>> GNNCell.disable_display()
static enable_display(screen_width=200)[source]

Enable display code comparison.

Parameters

screen_width (int) – Determines the screen width on which the code is displayed. Default: 200.

Examples

>>> from mindspore_gl.nn import GNNCell
>>> GNNCell.enable_display(screen_width=350)
classmethod specify_path(path)[source]

Enable specify the construct file path.

Parameters

path (str) – The path for save the construct file.

Examples

>>> from mindspore_gl.nn import GNNCell
>>> GNNCell.specify_path('path/to/save')