Method TensorToDataSet
TensorToDataSet(Tensor)
Initializes the constant with the shape, dataType and weights from a given Tensor.
Declaration
public void TensorToDataSet(Tensor X)
Parameters
| Type | Name | Description |
|---|---|---|
| Tensor | X | The tensor to use for initialization. |
Exceptions
| Type | Condition |
|---|---|
| NotImplementedException | Thrown when a given data type is not supported. |