Method SetInput
SetInput(string, Tensor)
Sets a tensor as a named input of the model.
Declaration
public virtual void SetInput(string name, Tensor x)
Parameters
Type | Name | Description |
---|---|---|
string | name | The name of the input to set. |
Tensor | x |
Implements
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
public virtual void SetInput(Tensor x)
Parameters
Type | Name | Description |
---|---|---|
Tensor | x |