Model

data class Model(val uid: Int = 0, val name: String)

The entity class for the models table.

Parameters

uid

The unique ID of the model.

name

The name that represents this model.

jsonObject

The JSON object corresponding to 'single'.

optionalJsonObject

The JSON object corresponding to 'information'.

Constructors

Link copied to clipboard
constructor(uid: Int, name: String, jsonObject: JSONObject = JSONObject(), optionalJsonObject: JSONObject = JSONObject())
constructor(uid: Int = 0, name: String)

Creates a Model object.

Properties

Link copied to clipboard

The neural network framework supporting this model.

Link copied to clipboard

A map that represents the input information of the model.

Link copied to clipboard

The file names of this model.

Link copied to clipboard
Link copied to clipboard

A map that extensible information of the model.

Link copied to clipboard

A map that represents the output information of the model.

Link copied to clipboard
val uid: Int = 0

Functions

Link copied to clipboard
operator fun component1(): Int
Link copied to clipboard
operator fun component2(): String
Link copied to clipboard
fun copy(uid: Int = 0, name: String): Model
Link copied to clipboard

Get NNS filter description string for the given model. This is used to create a new NNS pipeline instance.