Show / Hide Table of Contents

Class AppModelBase

Model base class for keras applications

Inheritance
System.Object
Keras
Base
BaseModel
Model
AppModelBase
DenseNet121
DenseNet169
DenseNet201
InceptionResNetV2
InceptionV3
MobileNetV1
MobileNetV2
NASNetLarge
NASNetMobile
ResNet101
ResNet152
ResNet50
ResNet101V2
ResNet152V2
ResNet50V2
ResNeXt101
ResNeXt50
VGG16
VGG19
Xception
Implements
System.IDisposable
Inherited Members
BaseModel.Compile(StringOrInstance, String, String[], Single[], String, String[], NDarray[])
BaseModel.Fit(NDarray, NDarray, Nullable<Int32>, Int32, Int32, Callback[], Single, NDarray[], Boolean, Dictionary<Int32, Single>, NDarray, Int32, Nullable<Int32>, Nullable<Int32>)
BaseModel.Evaluate(NDarray, NDarray, Nullable<Int32>, Int32, NDarray, Nullable<Int32>, Callback[])
BaseModel.Predict(NDarray, Nullable<Int32>, Int32, Nullable<Int32>, Callback[])
BaseModel.TrainOnBatch(NDarray, NDarray, NDarray, Dictionary<Int32, Single>)
BaseModel.TestOnBatch(NDarray, NDarray, NDarray)
BaseModel.PredictOnBatch(NDarray)
BaseModel.ToJson()
BaseModel.SaveWeight(String)
BaseModel.Save(String)
BaseModel.LoadWeight(String)
BaseModel.LoadModel(String)
BaseModel.ModelFromJson(String)
BaseModel.ModelFromYaml(String)
BaseModel.SaveOnnx(String)
BaseModel.Summary(Nullable<Int32>, Single[])
BaseModel.SaveTensorflowJSFormat(String, Boolean)
Base.Parameters
Base.None
Base.Init()
Base.ToPython()
Base.InvokeStaticMethod(Object, String, Dictionary<String, Object>)
Base.InvokeMethod(String, Dictionary<String, Object>)
Base.Item[String]
Keras.Instance
Keras.keras
Keras.keras2onnx
Keras.tfjs
Keras.Dispose()
Keras.ToTuple(Array)
Keras.ToList(Array)
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 Source

AppModelBase(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 Source

DecodePredictions(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[]
| Improve this Doc View Source

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
  • Improve this Doc
  • View Source
Back to top Generated by DocFX