1. 08 Oct, 2021 1 commit
    • Umang Yadav's avatar
      Remove alpha and beta from `dot` and `quant_dot` (#961) · 21193e87
      Umang Yadav authored
      Previously dot operator was defined as C = alpha * A . B + beta * C where * is scalar multiplication and . is dot product or matrix multiplication depending on dimension of the inputs.
      
      Aim is to have the definition of dot operator as C = A . B without having alpha or beta.
      
      In order to achieve the same effect as alpha and beta (1) it multiplies the one of the inputs to the dot operator with alpha value. (2) if beta is present then, multiplies the C with beta and then adds into the output from step 1.
      21193e87
  2. 17 Sep, 2021 2 commits
    • Paul Fultz II's avatar
      985f58b0
    • Umang Yadav's avatar
      Remove alpha and beta attributes from dot operator (#945) · 9e43cb8b
      Umang Yadav authored
      This PR aims to remove alpha and beta attributes from dot operator completely.
      
      Previously dot operator was defined as C = alpha * A . B + beta * C where * is scalar multiplication and . is dot product or matrix multiplication depending on dimension of the inputs.
      
      Aim is to have the definition of dot operator as C = A . B without having alpha or beta.
      
      In order to achieve the same effect as alpha and beta (1) it multiplies the one of the inputs to the dot operator with alpha value. (2) if beta is present then, multiplies the C with beta and then adds into the output from step 1.
      9e43cb8b
  3. 24 Aug, 2021 1 commit
    • Umang Yadav's avatar
      Change attributes names to be more consistent and reflect better meaning (#916) · 0d2606bb
      Umang Yadav authored
      * rename broadcast and multibroadcast output_lens attribute to out_lens attribute, and change tests and source code to reflect the same
      
      * change the reshape attribute from dims to out_lens
      
      * change transpose attribute's name from dims to perm to reflect better meaning
      
      * use permutation instead of perm for transpose
      
      clang formaating
      
      * use dims instead of out_lens for reshape
      
      clang formatting
      0d2606bb
  4. 09 Jul, 2021 1 commit
  5. 19 Dec, 2020 1 commit
    • Paul Fultz II's avatar
      Refactor onnx parser (#699) · 1dd4e4d9
      Paul Fultz II authored
      
      
      * Load op when serializing
      
      * Formatting
      
      * Add missing clip field
      
      * Use make_op almost everywhere
      
      * Formatting
      
      * More make ops for rnns
      
      * Get rid of spaces
      
      * Formatting
      
      * Remove operators headers
      
      * Formatting
      
      * Remove unused op headers
      
      * Increase line threshold
      
      * Refactor onnx_parser class
      
      * Formatting
      
      * Add op_parser
      
      * Formatting
      
      * Remove old onnx drivers
      
      * Use file GLOB
      
      * Parse arg ops
      
      * Formatting
      
      * Add pooling
      
      * Formatting
      
      * Add parse_natchnorm
      
      * Add more operators
      
      * Formatting
      
      * Add more operators
      
      * Formatting
      
      * Add more operators
      
      * Formatting
      
      * Add more operators
      
      * Add rnn operators
      
      * Formatting
      
      * Fix tidy issues
      
      * Formatting
      
      * Add back missing param
      
      * Formatting
      
      * Fix shadow variable
      
      * Fix shadow in declaration
      
      * Make global constant
      
      * Formatting
      
      * Add generic op
      
      * Formatting
      
      * Add binary op
      
      * Formatting
      
      * Add variadiac op
      
      * Formatting
      
      * Remove unused fields and functions
      
      * Set default values
      
      * Formatting
      
      * Remove unused member variable
      
      * Add add literal overload
      
      * Use info.add_literal
      
      * Formatting
      
      * Call add_instruction through info class
      
      * Fix tidy issues
      
      * Formatting
      Co-authored-by: default avatarmvermeulen <5479696+mvermeulen@users.noreply.github.com>
      1dd4e4d9