uninitialized_tensor
Overloads
| Name | Description |
|---|---|
uninitialized_tensor(const List<integer> shape) -> ComplexTensor | generate an array of uninitialized Complex values with the specified shape |
uninitialized_tensor(const List<integer> shape, as_real as_real) -> RealTensor | generate an array of uninitialized Real values with the specified shape |
uninitialized_tensor(const List<integer> shape, as_complex as_complex) -> ComplexTensor | generate an array of uninitialized Complex values with the specified shape |
uninitialized_tensor(const List<integer> shape) -> ComplexTensor
generate an array of uninitialized Complex values with the specified shape
Parameters
- shape: list of positive integers specifying the size along each dimensions of the array
uninitialized_tensor(const List<integer> shape, as_real as_real) -> RealTensor
generate an array of uninitialized Real values with the specified shape
Parameters
- shape: list of positive integers specifying the size along each dimensions of the array
- as_real: desired scalar type
uninitialized_tensor(const List<integer> shape, as_complex as_complex) -> ComplexTensor
generate an array of uninitialized Complex values with the specified shape
Parameters
- shape: list of positive integers specifying the size along each dimensions of the array
- as_complex: desired scalar type