Method SetInput
SetInput(Tensor)
Sets a tensor as the default input of the model. For models with more than one input this sets the first input.
Declaration
void SetInput(Tensor inputTensor)
Parameters
Type | Name | Description |
---|---|---|
Tensor | inputTensor | The tensor to set to the default input of the model. |
SetInput(string, Tensor)
Sets a tensor as a named input of the model.
Declaration
void SetInput(string name, Tensor inputTensor)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the input to set. |
Tensor | inputTensor | The tensor to set as the input. |