tfds.visualization.GraphVisualizerMetadataDict
Stay organized with collections
Save and categorize content based on your preferences.
A tfds.core.Metadata
object for metadata for visualizing graph datasets.
Inherits From: MetadataDict
, Metadata
tfds.visualization.GraphVisualizerMetadataDict(
edgelist_feature_name, *args, **kwargs
)
This metadata information is used by tfds.core.visualization.GraphVisualizer.
Methods
View source
load_metadata(
data_dir
)
Restore the metadata.
View source
save_metadata(
data_dir
)
Save the metadata.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-04-26 UTC.
[null,null,["Last updated 2024-04-26 UTC."],[],[],null,["# tfds.visualization.GraphVisualizerMetadataDict\n\n\u003cbr /\u003e\n\n|------------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/datasets/blob/v4.9.3/tensorflow_datasets/core/visualization/graph_visualizer.py#L35-L43) |\n\nA [`tfds.core.Metadata`](../../tfds/core/Metadata) object for metadata for visualizing graph datasets.\n\nInherits From: [`MetadataDict`](../../tfds/core/MetadataDict), [`Metadata`](../../tfds/core/Metadata) \n\n tfds.visualization.GraphVisualizerMetadataDict(\n edgelist_feature_name, *args, **kwargs\n )\n\nThis metadata information is used by tfds.core.visualization.GraphVisualizer.\n\nMethods\n-------\n\n### `load_metadata`\n\n[View source](https://github.com/tensorflow/datasets/blob/v4.9.3/tensorflow_datasets/core/dataset_info.py#L1160-L1164) \n\n load_metadata(\n data_dir\n )\n\nRestore the metadata.\n\n### `save_metadata`\n\n[View source](https://github.com/tensorflow/datasets/blob/v4.9.3/tensorflow_datasets/core/dataset_info.py#L1155-L1158) \n\n save_metadata(\n data_dir\n )\n\nSave the metadata."]]