Class ModelMetadataExtensions
Inherited Members
Namespace: Unity.Barracuda
Syntax
public static class ModelMetadataExtensions
Methods
GetShapeByName(Model, String)
Declaration
public static TensorShape? GetShapeByName(this Model model, string name)
Parameters
Type | Name | Description |
---|---|---|
Model | model | |
String | name |
Returns
Type | Description |
---|---|
Nullable<TensorShape> |
GetTensorByName(Model, String)
Declaration
public static Tensor GetTensorByName(this Model model, string name)
Parameters
Type | Name | Description |
---|---|---|
Model | model | |
String | name |
Returns
Type | Description |
---|---|
Tensor |