Header menu logo BioFSharp

CNTKExtensions Module

Functions and values

Function or value Description

loadModel modelPath

Full Usage: loadModel modelPath

Parameters:
    modelPath : string

Returns: Function

Loads a model as binary modelBuffer from the given path and returns the resulting CNTK.Function

modelPath : string
Returns: Function

loadModelWithDevice device modelPath

Full Usage: loadModelWithDevice device modelPath

Parameters:
Returns: Function
device : DeviceDescriptor
modelPath : string
Returns: Function

predictAs model inputBatch

Full Usage: predictAs model inputBatch

Parameters:
Returns: 'Output seq
Returns evaluations of the given model function for the input batch of attached feature vectors.

To determine the type to cast the output to, use the following notation:

 predictAs ...
model : Function
inputBatch : Dictionary<Variable, Value>
Returns: 'Output seq

predictAsWithDevice device model inputBatch

Full Usage: predictAsWithDevice device model inputBatch

Parameters:
Returns: 'Output seq
Returns evaluations of the given model function for the input batch of attached feature vectors using the given DeviceDescriptor.

To determine the type to cast the output to, use the following notation:

 predictAsWithDevice ...
device : DeviceDescriptor
model : Function
inputBatch : Dictionary<Variable, Value>
Returns: 'Output seq

toInputBatch model featureVectors

Full Usage: toInputBatch model featureVectors

Parameters:
    model : Function
    featureVectors : 'a seq

Returns: Dictionary<Variable, Value>

Returns an input batch from the given feature vectors attached to the given model

model : Function
featureVectors : 'a seq
Returns: Dictionary<Variable, Value>

toInputBatchWithDevice device model featureVectors

Full Usage: toInputBatchWithDevice device model featureVectors

Parameters:
Returns: Dictionary<Variable, Value>

Returns an input batch from the given feature vectors attached to the given model using the given DeviceDescriptor

device : DeviceDescriptor
model : Function
featureVectors : 'a seq
Returns: Dictionary<Variable, Value>

Type something to start searching.