CNTKModel implements CNTKModel
More...
◆ CNTKModel() [1/2]
Synapse.ML.Cntk.CNTKModel.CNTKModel |
( |
| ) |
|
|
inline |
◆ CNTKModel() [2/2]
Synapse.ML.Cntk.CNTKModel.CNTKModel |
( |
string |
uid | ) |
|
|
inline |
Creates a CNTKModel with a UID that is used to give the CNTKModel a unique ID.
- Parameters
-
uid | An immutable unique ID for the object and its derivatives. |
◆ GetBatchInput()
bool Synapse.ML.Cntk.CNTKModel.GetBatchInput |
( |
| ) |
|
Gets batchInput value
- Returns
- batchInput: whether to use a batcher
◆ GetConvertOutputToDenseVector()
bool Synapse.ML.Cntk.CNTKModel.GetConvertOutputToDenseVector |
( |
| ) |
|
Gets convertOutputToDenseVector value
- Returns
- convertOutputToDenseVector: whether to convert the output to dense vectors
◆ GetFeedDict()
Dictionary<string, string> Synapse.ML.Cntk.CNTKModel.GetFeedDict |
( |
| ) |
|
|
inline |
Gets feedDict value
- Returns
- feedDict: Provide a map from CNTK/ONNX model input variable names (keys) to column names of the input dataframe (values)
◆ GetFetchDict()
Dictionary<string, string> Synapse.ML.Cntk.CNTKModel.GetFetchDict |
( |
| ) |
|
|
inline |
Gets fetchDict value
- Returns
- fetchDict: Provide a map from column names of the output dataframe (keys) to CNTK/ONNX model output variable names (values)
◆ GetMiniBatcher()
JavaTransformer Synapse.ML.Cntk.CNTKModel.GetMiniBatcher |
( |
| ) |
|
|
inline |
Gets miniBatcher value
- Returns
- miniBatcher: Minibatcher to use
◆ GetModel()
object Synapse.ML.Cntk.CNTKModel.GetModel |
( |
| ) |
|
Gets model value
- Returns
- model: Array of bytes containing the serialized CNTKModel
◆ Load()
static CNTKModel Synapse.ML.Cntk.CNTKModel.Load |
( |
string |
path | ) |
|
|
static |
◆ Read()
JavaMLReader<CNTKModel> Synapse.ML.Cntk.CNTKModel.Read |
( |
| ) |
|
Get the corresponding JavaMLReader instance.
- Returns
- an JavaMLReader<CNTKModel> instance for this ML instance.
◆ Save()
void Synapse.ML.Cntk.CNTKModel.Save |
( |
string |
path | ) |
|
Saves the object so that it can be loaded later using Load. Note that these objects can be shared with Scala by Loading or Saving in Scala.
- Parameters
-
path | The path to save the object to |
◆ SetBatchInput()
CNTKModel Synapse.ML.Cntk.CNTKModel.SetBatchInput |
( |
bool |
value | ) |
|
Sets value for batchInput
- Parameters
-
value | whether to use a batcher |
- Returns
- New CNTKModel object
◆ SetConvertOutputToDenseVector()
CNTKModel Synapse.ML.Cntk.CNTKModel.SetConvertOutputToDenseVector |
( |
bool |
value | ) |
|
Sets value for convertOutputToDenseVector
- Parameters
-
value | whether to convert the output to dense vectors |
- Returns
- New CNTKModel object
◆ SetFeedDict()
CNTKModel Synapse.ML.Cntk.CNTKModel.SetFeedDict |
( |
Dictionary< string, string > |
value | ) |
|
Sets value for feedDict
- Parameters
-
value | Provide a map from CNTK/ONNX model input variable names (keys) to column names of the input dataframe (values) |
- Returns
- New CNTKModel object
◆ SetFetchDict()
CNTKModel Synapse.ML.Cntk.CNTKModel.SetFetchDict |
( |
Dictionary< string, string > |
value | ) |
|
Sets value for fetchDict
- Parameters
-
value | Provide a map from column names of the output dataframe (keys) to CNTK/ONNX model output variable names (values) |
- Returns
- New CNTKModel object
◆ SetMiniBatcher()
CNTKModel Synapse.ML.Cntk.CNTKModel.SetMiniBatcher |
( |
JavaTransformer |
value | ) |
|
Sets value for miniBatcher
- Parameters
-
- Returns
- New CNTKModel object
◆ SetModelLocation()
CNTKModel Synapse.ML.Cntk.CNTKModel.SetModelLocation |
( |
string |
value | ) |
|
Sets value for model
- Parameters
-
value | Array of bytes containing the serialized CNTKModel |
- Returns
- New CNTKModel object
The documentation for this class was generated from the following file:
- synapse/ml/cntk/CNTKModel.cs