jet.factory.Tensor¶
-
Tensor
(*args, **kwargs) → Union[jet.bindings.TensorC64, jet.bindings.TensorC128][source]¶ Constructs a tensor with the specified data type. If a
dtype
keyword argument is not provided, aTensorC128
instance will be returned.- Parameters
*args – Positional arguments to pass to the tensor constructor.
**kwargs – Keyword arguments to pass to the tensor constructor.
- Returns
Tensor instance.
code/api/jet.factory.Tensor
Download Python script
Download Notebook
View on GitHub