graph — Model Optimizer 0.27.1 (original) (raw)


Utility functions for computational graph.

Functions

match Check if a module matches any of the patterns.

match(module, patterns)

Check if a module matches any of the patterns.

Parameters:

Returns:

True if the module matches any of the patterns, False otherwise.

Return type:

bool