.. _f-einsumimplext: module ``testing.einsum.einsum_impl_ext`` ========================================= Short summary +++++++++++++ module ``mlprodict.testing.einsum.einsum_impl_ext`` Functions implemented einsum computation for two matrices having the same dimensions. :githublink:`%|py|6` Functions +++++++++ +--------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+ | function | truncated documentation | +============================================================================================================================================+=================================================================================================================================================+ | :func:`_common_check_numpy_extended_dot ` | Common verifications for all implementations of :func:`numpy_extended_dot`. | +--------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`_numpy_extended_dot_equation ` | Returns the equation equivalent to an extended version of an aligned matrix multiplication (see :func:`numpy_extended_dot`). ... | +--------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`_numpy_extended_dot_python_intermediate ` | | +--------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`_numpy_extended_dot_python_l1l2l3 ` | | +--------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`_numpy_extended_dot_python_update_broadcast ` | | +--------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`numpy_diagonal ` | Extracts diagonal coefficients from an array. | +--------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`numpy_extended_dot ` | Extended version of a matrix multiplication (:epkg:`numpy:dot`) with two matrices *m1*, *m2* of the same dimensions. ... | +--------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`numpy_extended_dot_matrix ` | Implementation of :func:`numpy_extended_dot` using dot product, multiplication, transpose and reduction but not ... | +--------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`numpy_extended_dot_ouput_shape ` | Computes the output shape of results produced by function :func:`numpy_extended_dot ` ... | +--------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+ | :func:`numpy_extended_dot_python ` | Implementation of :func:`numpy_extended_dot` in pure python. This implementation is not efficient but shows how to ... | +--------------------------------------------------------------------------------------------------------------------------------------------+-------------------------------------------------------------------------------------------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: mlprodict.testing.einsum.einsum_impl_ext :members: :special-members: __init__ :show-inheritance: