@sourceacademy/torch
    Preparing search index...

    Variable sumConst

    sum: (...args: ArgumentType[]) => Tensor = ...

    Computes the sum of the elements of the input tensor.

    Type Declaration

      • (...args: ArgumentType[]): Tensor
      • Parameters

        • ...args: ArgumentType[]

        Returns Tensor