wandb.data_types.Graph

View source on GitHubarrow-up-right

Wandb class for graphs

Graph(
    format="keras"
)

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:

    Graph.from_keras(keras_model)

Methods

add_edge

View sourcearrow-up-right

add_edge(
    from_node, to_node
)

add_node

View sourcearrow-up-right

from_keras

View sourcearrow-up-right

pprint

View sourcearrow-up-right

__getitem__

View sourcearrow-up-right

Last updated