Class ModelOptimizer
Inheritance
ModelOptimizer
Syntax
public class ModelOptimizer
Methods
FuseActivations(Model)
Declaration
public static void FuseActivations(Model model)
Parameters
Type |
Name |
Description |
Model |
model |
|
IsActivationFusable(Layer.Activation)
Declaration
public static bool IsActivationFusable(Layer.Activation activationType)
Parameters
Returns
IsLayerSupportingActivationFusing(Layer.Type)
Declaration
public static bool IsLayerSupportingActivationFusing(Layer.Type layerType)
Parameters
Returns
Optimize(Model, Boolean, HashSet<String>)
Declaration
public static Model Optimize(Model model, bool allowFusing, HashSet<string> keepLayers = null)
Parameters
Returns
RemoveNoop(Model)
Declaration
public static Model RemoveNoop(Model model)
Parameters
Type |
Name |
Description |
Model |
model |
|
Returns