jet.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, a TensorC128 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.