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
- Alphabetic
- By Inheritance
- ModelSchema
- Serializable
- Serializable
- Product
- Equals
- Schema
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ModelSchema(name: String, dataset: String, modelType: String, uri: URI, hash: String, size: Long, inputNode: Int, numLayers: Int, layerNames: ArrayList[String])
-
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
-
def
assertMatchingHash(bytes: InputStream): Unit
- Definition Classes
- Schema
- val dataset: String
-
val
hash: String
- Definition Classes
- ModelSchema → Schema
- val inputNode: Int
- val layerNames: Array[String]
- val modelType: String
- val name: String
- val numLayers: Int
-
val
size: Long
- Definition Classes
- ModelSchema → Schema
-
def
updateURI(newURI: URI): ModelSchema.this.type
- Definition Classes
- ModelSchema → Schema
-
val
uri: URI
- Definition Classes
- ModelSchema → Schema