TestConfig: New Test Configuration

Description Usage Arguments

Description

A test configuration for the training session.

Usage

1
2
3
TestConfig(minibatch_source = NULL, minibatch_size = 32,
  model_inputs_to_streams = NULL, criterion = NULL, source = NULL,
  mb_size = NULL)

Arguments

minibatch_source

(MinibatchSource): minibatch source used for cross validation

model_inputs_to_streams

(dict): mapping between input variables and input streams If NULL, the mapping provided to the training session constructor is used. Don't specify this if 'minibatch_source' is a tuple of numpy/scipy arrays.

criterion

(): criterion function): criterion function. Must be specified if 'minibatch_source' is a tuple of numpy/scipy arrays.

source

(MinibatchSource): DEPRECATED, use minibatch_source instead

minibatch_size(int

or minibatch_size_schedule, defaults to 32): minibatch schedule for cross validation

mb_size(int

or minibatch_size_schedule, defaults to 32): DEPRECATED, use minibatch_size instead


Microsoft/CNTK-R documentation built on May 28, 2019, 1:52 p.m.