Documentation
Search…
English
Weights & Biases
Quickstart
Examples
Guides
Reference
Command Line Interface
Python Library
Data Types
wandb.data_types.Audio
wandb.data_types.BoundingBoxes2D
wandb.data_types.Graph
wandb.data_types.Histogram
wandb.data_types.Html
wandb.data_types.Image
wandb.data_types.ImageMask
wandb.data_types.Molecule
wandb.data_types.Object3D
wandb.data_types.Plotly
wandb.data_types.Table
wandb.data_types.Video
Integrations
Import & Export API
wandb.Artifact
wandb.Run
wandb.agent
wandb.config
wandb.controller
wandb.finish
wandb.init
wandb.log
wandb.save
wandb.summary
wandb.sweep
wandb.watch
Weave
App UI
Java Library
About Us
Homepage
Powered By
GitBook
wandb.data_types.Graph
​
​
View source on GitHub
​
Wandb class for graphs
1
Graph
(
2
format
=
"keras"
3
)
Copied!
This class is typically used for saving and diplaying neural net models. It represents the graph as an array of nodes and edges. The nodes can have labels that can be visualized by wandb.
Examples:
Import a keras model:
1
Graph.from_keras(keras_model)
Copied!
Methods
add_edge
​
View source
​
1
add_edge
(
2
from_node
,
to_node
3
)
Copied!
add_node
​
View source
​
1
add_node
(
2
node
=
None
,
**
node_kwargs
3
)
Copied!
from_keras
​
View source
​
1
@classmethod
2
from_keras
(
3
model
4
)
Copied!
pprint
​
View source
​
1
pprint
()
Copied!
__getitem__
​
View source
​
1
__getitem__
(
2
nid
3
)
Copied!
Previous
wandb.data_types.BoundingBoxes2D
Next
wandb.data_types.Histogram
Last modified
3mo ago
Copy link
Contents
Methods
add_edge
add_node
from_keras
pprint
__getitem__