Class ModelAnalyzer
Inheritance
ModelAnalyzer
Syntax
public class ModelAnalyzer
Methods
FindBrokenLinks(Model)
Declaration
public static string[] FindBrokenLinks(Model model)
Parameters
Type |
Name |
Description |
Model |
model |
|
Returns
FindLargestArgumentTensorShape(Model)
Declaration
public static TensorShape FindLargestArgumentTensorShape(Model model)
Parameters
Type |
Name |
Description |
Model |
model |
|
Returns
FindLargestNecessaryTensorShape(Model, IDictionary<String, TensorShape>)
Declaration
public static TensorShape FindLargestNecessaryTensorShape(Model model, IDictionary<string, TensorShape> inputShapes)
Parameters
Returns
FindLayersThatRequireStorage(Model)
Declaration
public static HashSet<Layer> FindLayersThatRequireStorage(Model model)
Parameters
Type |
Name |
Description |
Model |
model |
|
Returns
Type |
Description |
HashSet<Layer> |
|
Declaration
public static string[] FindUnconnectedInputs(Model model)
Parameters
Type |
Name |
Description |
Model |
model |
|
Returns
FindUnconnectedOutputs(Model)
Declaration
public static string[] FindUnconnectedOutputs(Model model)
Parameters
Type |
Name |
Description |
Model |
model |
|
Returns
FindUnconnectedOutputs(Model, List<String>)
Declaration
public static string[] FindUnconnectedOutputs(Model model, List<string> outputs)
Parameters
Returns
FindUpstreamLayers(Model, String[])
Declaration
public static HashSet<Layer> FindUpstreamLayers(Model model, string[] outputs)
Parameters
Returns
Type |
Description |
HashSet<Layer> |
|
Declaration
public static string GetDefaultInputName(Model model)
Parameters
Type |
Name |
Description |
Model |
model |
|
Returns
GetDefaultOutputName(Model)
Declaration
public static string GetDefaultOutputName(Model model)
Parameters
Type |
Name |
Description |
Model |
model |
|
Returns
ListTemporaryTensorShapes(Model, IDictionary<String, TensorShape>)
Declaration
public static TensorShape[] ListTemporaryTensorShapes(Model model, IDictionary<string, TensorShape> inputShapes)
Parameters
Returns
ListTemporaryTensorShapes(Model, IDictionary<String, TensorShape>, out IDictionary<String, TensorShape>)
Declaration
public static TensorShape[] ListTemporaryTensorShapes(Model model, IDictionary<string, TensorShape> inputShapes, out IDictionary<string, TensorShape> shapesByName)
Parameters
Returns
TryGetOutputTensorShape(Model, IDictionary<String, TensorShape>, String, out TensorShape)
Declaration
public static bool TryGetOutputTensorShape(Model model, IDictionary<string, TensorShape> inputShapes, string output, out TensorShape shape)
Parameters
Returns
TryGetOutputTensorShape(Model, String, out TensorShape)
Declaration
public static bool TryGetOutputTensorShape(Model model, string output, out TensorShape shape)
Parameters
Returns