viz.renderers.ArchitectureNode
export interface ArchitectureNode {
/** Unique node identifier */
id: string;
/** Layer type */
type: LayerType;
/** Display name */
name: string;
/** Input shape (e.g., [batch, channels, height, width]) */
inputShape?: number[];
/** Output shape */
outputShape?: number[];
/** Number of trainable parameters */
params?: number;
/** Additional details */
details?: Record<string, string | number>;
}id(string)- – Unique node identifier
type(LayerType)- – Layer type
name(string)- – Display name
inputShape(number[])optional- – Input shape (e.g., [batch, channels, height, width])
outputShape(number[])optional- – Output shape
params(number)optional- – Number of trainable parameters
details(Record<string, string | number>)optional- – Additional details
A single node in the architecture graph.