Class AppModelBase
Model base class for keras applications
Inheritance
System.Object
AppModelBase
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Keras.Applications
Assembly: Keras.dll
Syntax
public class AppModelBase : Model, IDisposable
Constructors
| Improve this Doc View SourceAppModelBase(Object)
Initializes a new instance of the AppModelBase class.
Declaration
public AppModelBase(dynamic _caller)
Parameters
Type | Name | Description |
---|---|---|
System.Object | _caller | The caller. |
Methods
| Improve this Doc View SourceDecodePredictions(NDarray, Int32)
Decodes the predictions.
Declaration
public ImageNetPrediction[] DecodePredictions(NDarray preds, int top = 3)
Parameters
Type | Name | Description |
---|---|---|
Numpy.NDarray | preds | The preds. |
System.Int32 | top | The top. |
Returns
Type | Description |
---|---|
ImageNetPrediction[] |
PreprocessInput(NDarray, String)
Preprocesses the input.
Declaration
public NDarray PreprocessInput(NDarray x, string data_format = "channels_last")
Parameters
Type | Name | Description |
---|---|---|
Numpy.NDarray | x | The input tensor. |
System.String | data_format |
Returns
Type | Description |
---|---|
Numpy.NDarray |
Implements
System.IDisposable