Method StartManualSchedule
StartManualSchedule()
Schedules the execution of the model one layer at a time. This is non-blocking.
To schedule the execution of the next layer of the model, call MoveNext on the IEnumerator object this method returns.
Declaration
IEnumerator StartManualSchedule()
Returns
| Type | Description |
|---|---|
| IEnumerator | The |
StartManualSchedule(Tensor)
Sets a tensor as the default input of the model and schedules execution of the model one layer at a time. This is non-blocking. For models with more than one input this sets the first input.
To schedule execution of the next layer of the model, call MoveNext on the IEnumerator object this method returns.
Declaration
IEnumerator StartManualSchedule(Tensor inputTensor)
Parameters
| Type | Name | Description |
|---|---|---|
| Tensor | inputTensor | The tensor to set to the default input of the model. |
Returns
| Type | Description |
|---|---|
| IEnumerator | The |
StartManualSchedule(IDictionary<string, Tensor>)
Sets multiple tensors as the inputs of the model and schedules execution of the model one layer at a time. This is non-blocking.
To schedule execution of the next layer of the model, call MoveNext on the IEnumerator object this method returns.
Declaration
IEnumerator StartManualSchedule(IDictionary<string, Tensor> inputTensors)
Parameters
| Type | Name | Description |
|---|---|---|
| IDictionary<string, Tensor> | inputTensors | The tensors to use as the inputs of the model as a dictionary mapping input names to tensors. |
Returns
| Type | Description |
|---|---|
| IEnumerator | The |