np_wrapper
NumPyFType
¶
Bases: TensorFType
Source code in src/finch/tensor/np_wrapper.py
__call__(val)
¶
Convert a tensor to this numpy tensor type.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
val
|
NumPyWrapper
|
A tensor to convert to this type. |
required |
Returns: A NumPyWrapper instance of this type.
Source code in src/finch/tensor/np_wrapper.py
NumPyWrapper
¶
Bases: Tensor