NVIDIA/Fuser

Opinfo testing for python frontend

Open

#432 opened on May 31, 2023

View on GitHub
 (3 comments) (0 reactions) (1 assignee)C++ (80 forks)github user discovery
good first issueopinfo

Repository metrics

Stars
 (392 stars)
PR merge metrics
 (PR metrics pending)

Description

This issue tracks opinfo testing for various operations in the python frontend. The goal is to find any corner cases and test for error conditions.

Unary

  • ceil, floor, frac, neg, bitwise_not, trunc, reciprocal, round

Bool

  • isfinite, isinf, isnan, isneginf, isposinf, isreal, signbit

Float

  • abs, acos, acosh, asin, asinh, atan, atanh, cos, cosh, erf, erfc, erfcinv, erfinv, exp, exp2, expm1, lgamma, log, log10, log1p, log2, reciprocal, rsqrt, sign, sin, sinh, sqrt, tan, tanh

Binary

Float

  • atan2, truediv

Float-Only

  • nextafter

Cast-Integers-to-Float

  • add, ceildiv, div, fmod, mod, mul, pow, remainder, sub

Bitwise

  • and, or, xor

Int-Only

  • bitwise_left_shift, bitwise_right_shift, logical_right_shift, gcd

Compare

  • eq, ge, gt, le, lt, ne

Ternary

  • lerp

Binary - Alpha

  • add-alpha, sub-alpha

Ternary-Alpha

  • add-cmul

Ternary - Conditional

  • where

Threshold

  • clamp
  • threshold

Tensor Creation

  • full
  • iota

Transformation

  • cast

Shape

  • broadcast
  • broadcast-in-dims
  • cat
  • gather
  • index-select
  • pad
  • permute
  • reshape
  • slice
  • take-along-axis

Reduction

  • max
  • min
  • prod
  • sum

Cumulative Scan

  • max
  • min
  • prod
  • sum

Normalization

  • batch-norm
  • variance
  • variance-mean

Random

  • uniform
  • normal

Matrix-Multiplication

  • NN, NT, TN, TT

Contributor guide