Documentation

Hesper.Tensor.Types

Tensor Type Definitions #

Core types for tensor operations in Hesper. Supports multi-dimensional tensors with shape information.

Tensor shape represented as a list of dimensions

Instances For
    Equations
    Instances For
      Equations
      Instances For
        Equations
        Instances For
          Equations
          Instances For

            Total number of elements in the tensor

            Equations
            Instances For

              Rank (number of dimensions)

              Equations
              Instances For

                Tensor data type (scalar type of elements)

                Instances For

                  Tensor descriptor with shape and data type

                  Instances For
                    Equations
                    • One or more equations did not get rendered due to their size.
                    Instances For

                      Total size in bytes

                      Equations
                      Instances For

                        Create a matrix descriptor

                        Equations
                        Instances For

                          Create a vector descriptor

                          Equations
                          Instances For

                            Matrix multiplication configuration

                            • M : Nat

                              Matrix A dimensions: M × K

                            • K : Nat
                            • N : Nat

                              Matrix B dimensions: K × N

                            • tileSize : Nat

                              Workgroup tile size

                            • dtype : DType

                              Data type

                            Instances For
                              Equations
                              • One or more equations did not get rendered due to their size.
                              Instances For

                                Shape of matrix A

                                Equations
                                Instances For

                                  Shape of matrix B

                                  Equations
                                  Instances For

                                    Shape of result matrix C

                                    Equations
                                    Instances For

                                      Workgroup size for compute shader

                                      Equations
                                      Instances For

                                        Number of workgroups needed

                                        Equations
                                        Instances For