decthings

Sum

Calculates the total sum of all elements in the input.

Supported input data types are Int8, Int16, Int32, Int64, Uint8, Float16, Float32, Float64 and Bool, of any shape. The output data type will be the same as the input, and the output will be a scalar. That is, it will have the shape (). For boolean input values, the output will be true if at least one of the elements in the input tensor is true, and false otherwise, like an OR operation.

Product

  • Documentation
  • Pricing
  • API reference
  • Guides

Company

  • Support

Get going!

Sign up
  • Terms and conditions
  • Privacy policy
  • Cookie policy
  • GitHub
  • LinkedIn

This website uses cookies to enhance the experience.

Learn more