Constructor ( .ctor )
new: 'T [] -> TensorHostStorage<'T>
Implicit constructor.
Declaration
new: data:'T [] -> TensorHostStorage<'T>
Parameters
| Type | Name | Description |
|---|---|---|
| 'T [] | data |
Returns
| Type | Description |
|---|---|
| TensorHostStorage<'T> |
new: int64 -> TensorHostStorage<'T>
allocates a new data array with the given number of elements
Declaration
new: nElems:int64 -> TensorHostStorage<'T>
Parameters
| Type | Name | Description |
|---|---|---|
| int64 | nElems |
Returns
| Type | Description |
|---|---|
| TensorHostStorage<'T> |