Packages

case class ModelSchema(name: String, dataset: String, modelType: String, uri: URI, hash: String, size: Long, inputNode: Int, numLayers: Int, layerNames: Array[String]) extends Schema with Product with Serializable

Class representing the schema of a CNTK model

name

name of the model architecture

dataset

dataset the model was trained on

modelType

type of problem the model is suited for eg: (image, text, sound, sentiment etc)

uri

location of the underlying file (local, HDFS, or HTTP)

hash

sha256 hash of the underlying file

size

size in bytes of the underlying file

inputNode

the node which represents the input

numLayers

the number of layers of the model

layerNames

the names nodes that represent layers in the network

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ModelSchema
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Schema
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ModelSchema(name: String, dataset: String, modelType: String, uri: URI, hash: String, size: Long, inputNode: Int, numLayers: Int, layerNames: ArrayList[String])
  2. new ModelSchema(name: String, dataset: String, modelType: String, uri: URI, hash: String, size: Long, inputNode: Int, numLayers: Int, layerNames: Array[String])

    name

    name of the model architecture

    dataset

    dataset the model was trained on

    modelType

    type of problem the model is suited for eg: (image, text, sound, sentiment etc)

    uri

    location of the underlying file (local, HDFS, or HTTP)

    hash

    sha256 hash of the underlying file

    size

    size in bytes of the underlying file

    inputNode

    the node which represents the input

    numLayers

    the number of layers of the model

    layerNames

    the names nodes that represent layers in the network

Value Members

  1. def assertMatchingHash(bytes: InputStream): Unit
    Definition Classes
    Schema
  2. val dataset: String
  3. val hash: String
    Definition Classes
    ModelSchemaSchema
  4. val inputNode: Int
  5. val layerNames: Array[String]
  6. val modelType: String
  7. val name: String
  8. val numLayers: Int
  9. val size: Long
    Definition Classes
    ModelSchemaSchema
  10. def updateURI(newURI: URI): ModelSchema.this.type
    Definition Classes
    ModelSchemaSchema
  11. val uri: URI
    Definition Classes
    ModelSchemaSchema