org.apache.ignite.ml.inference

## Class ModelDescriptor

- java.lang.Object
- - org.apache.ignite.ml.inference.ModelDescriptor

- All Implemented Interfaces:
    Serializable

      public class ModelDescriptor
      extends Object
      implements Serializable

  Model descriptor that encapsulates information about model, `ModelReader` and `ModelParser` which is required to build the model.
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ModelDescriptor(String name, String desc, ModelSignature signature, ModelReader reader, ModelParser<byte[],byte[],?> parser)` Constructs a new instance of model descriptor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getDesc()`
    `String` | `getName()`
    `ModelParser<byte[],byte[],?>` | `getParser()`
    `ModelReader` | `getReader()`
    `ModelSignature` | `getSignature()`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### ModelDescriptor

          public ModelDescriptor(String name,
                                 String desc,
                                 ModelSignature signature,
                                 ModelReader reader,
                                 ModelParser<byte[],byte[],?> parser)

      Constructs a new instance of model descriptor.
      Parameters:
        `name` - Model name.
        `desc` - Model description.
        `signature` - Model signature that keeps input/output types in Protobuf.
        `reader` - Model reader.
        `parser` - Model parser.

  - ### Method Detail

    - #### getName

          public String getName()

    - #### getDesc

          public String getDesc()

    - #### getSignature

          public ModelSignature getSignature()

    - #### getReader

          public ModelReader getReader()

    - #### getParser

          public ModelParser<byte[],byte[],?> getParser()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

2022 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.13.0
Release Date | : April 20 2022