Function Generalization
- xtensors.generalize_at_0(func: Callable[Concatenate[XTensor, O], R]) Callable[Concatenate[TensorLike, O], R]
Generalize the first argument of a function from accepting XTensor to TensorLike objects
- xtensors.generalize_at_1(func: Callable[Concatenate[T, XTensor, O], R]) Callable[Concatenate[T, TensorLike, O], R]
Generalize the second argument of a function