"examples/adversarial/run_hans.py" did not exist on "fa2ccbc0817d6c0848555a8f44d475f13f49e26f"
  1. 24 Sep, 2023 1 commit
  2. 21 Sep, 2023 1 commit
  3. 16 Sep, 2023 1 commit
    • Charlie Lin's avatar
      `fill` ref operator (#2087) · 0da1037f
      Charlie Lin authored
      Implements a fill operator that sets the values in an output buffer to a given value
      Will be used when parsing ONNX ConstantOfShape
      Can also be used when a buffer needs to be filled with a value that is determined at runtime
      0da1037f
  4. 14 Sep, 2023 1 commit
    • Brian Pickrell's avatar
      added rand_uniform operation closes #1958 (#2051) · fbd12bd3
      Brian Pickrell authored
      New op that populates a shape with random numbers with a uniform distribution. The rand_uniform op. can implement the Onnx RandomUniform instruction, and can also create the random number sequence necessary to implement Multinomial. (At this time, our Onnx Multinomial parsing generates a random sequence of numbers when parsing as a workaround, so that the resulting program uses the same "random" set every time.)
      
      Arguments: shape, seed. Shape is required; can be static or dynamic. Seed is still optional in this version. If it's not given at inference time, use the value in the creation attribute seed. Update: deleted A boolean use_auto_seed causes any given seed to be ignored.
      fbd12bd3
  5. 12 Sep, 2023 1 commit
  6. 11 Sep, 2023 1 commit
  7. 10 Sep, 2023 2 commits
    • Charlie Lin's avatar
      Dynamic allocate (#2079) · ede8bfa6
      Charlie Lin authored
      Makes a version of allocate that takes in dimensions and allocates a buffer
      Going to create a simplify_dynamic_ops compiler pass that will use the use_shape_attr flag
      The ONNX op ConstantOfShape needs the buffer to be filled with a specific value, so going to make another PR for that and a fill operator
      ede8bfa6
    • Lakhinder Walia's avatar
      Move operation for memory performance + misc changes for cpu performance (#2130) · b00489b3
      Lakhinder Walia authored
      Reduce memory footprint by std::move of temporary (potentially very large) containers.
      Minor cleanup for performance optimization: e.g. of Index() calculation -- which can get repeated millions of times in large tensors/vectors in a single Visit.
      b00489b3
  8. 08 Sep, 2023 1 commit
  9. 07 Sep, 2023 1 commit
  10. 29 Aug, 2023 1 commit
    • Brian Pickrell's avatar
      Fix dyn pooling (#1768) · 7b8a28f5
      Brian Pickrell authored
      Adds support for dynamic input shape in pooling operator along with auto-padding. This combination requires that the padding (and therefore the output shape) can't be computed until runtime.
      7b8a28f5
  11. 28 Aug, 2023 1 commit
  12. 18 Aug, 2023 1 commit
    • Charlie Lin's avatar
      Variable input slice (#2039) · e4ef64f4
      Charlie Lin authored
      Allows slice to work with variable starts, ends, and axes input
      Outputs a dynamic shape even with a static shape data input when the starts and ends are variable
      e4ef64f4
  13. 12 Aug, 2023 1 commit
  14. 08 Aug, 2023 1 commit
  15. 07 Aug, 2023 1 commit
  16. 04 Aug, 2023 1 commit
  17. 03 Aug, 2023 1 commit
  18. 31 Jul, 2023 1 commit
    • Lakhinder Walia's avatar
      Lw/fix half shape (#2000) · e4dc75ea
      Lakhinder Walia authored
      * Use shape of Instruction (instead of a default) in add_return()
      
      * Instruction validation fix: not to use a default shape value for comparison
      
      * Fix instruction::replace() to recompute shape for "@return"
      
      * handle the case of missing shape in an Instruction related Test
      
      * use compute_shape() to get op shapes + test case for tuple_type
      
      * add test case shape_test/return_shape_tuple
      
      * Add test for @return to check for half type
      
      * Move @return unit-tests around..; Address review comments
      
      * Broken comparison fix: comparison to a (default) shape of tuple_type
      
      * Test cases: (add) return_shape_empty & (modify) return_shape_tuple
      
      * modify the assert() statement
      e4dc75ea
  19. 28 Jul, 2023 2 commits
  20. 25 Jul, 2023 2 commits
  21. 23 Jul, 2023 1 commit
  22. 22 Jul, 2023 2 commits
  23. 21 Jul, 2023 1 commit
    • Umang Yadav's avatar
      Add back clamping and add tests (#1969) · 6957243c
      Umang Yadav authored
      Fixes #1957
      
      Clamping was removed in #1853.
      
      Turns out clamping as necessary to handle overflow/underflow cases. during downcasting, if it overflowed then without clamping it returned infinity.
      6957243c
  24. 19 Jul, 2023 1 commit
  25. 17 Jul, 2023 1 commit
  26. 16 Jul, 2023 1 commit
  27. 13 Jul, 2023 1 commit
    • Charlie Lin's avatar
      Update deconvolution -> convolution_backwards and Dynamic Shape Support (#1801) · 4edf1195
      Charlie Lin authored
      Renames deconvolution -> convolution_backwards to be more consistent with the literature
      Note: this is not the cross-correlation operator (which is the adjoint of convolution). This is technically a standard convolution operator combined with an upsampling operator rather than a downsampling operator.
      Adds unit tests for the padding, strides, dilations, and other op attributes.
      Throws on auto_pad attribute since it has not been implemented
      Previously it read the attribute and set it but then did nothing with it
      Extended for dynamic shapes
      Does not support using asymmetric padding (padding_L != padding_R) and output_shape with dynamic shapes.
      4edf1195
  28. 10 Jul, 2023 2 commits
  29. 08 Jul, 2023 1 commit
    • Artur Wojcik's avatar
      export API symbols from dynamic libraries (#1892) · c04fbc92
      Artur Wojcik authored
      Export API symbols for migraphx, migraphx_ref, migraphx_cpu, migrphx_gpu, migraphx_device, migraphx_tf, and migraphx_onnx. There is a separate PR for migrahx_c.
      
      API symbol exporting affects only Windows. It is transparent on Linux.
      c04fbc92
  30. 06 Jul, 2023 2 commits
    • Artur Wojcik's avatar
    • Paul Fultz II's avatar
      Enable eval to handle multiple contexts (#1751) · 072fd5cc
      Paul Fultz II authored
      This is to help enable multi-target execution. We store a vector of targets and contexts. Currently this will only compile a single target, the PR #1672 is needed to enable multiple targets.
      
      This will also serialize the targets and contexts.
      
      When using the execution_environment or prog.get_context() it will always use the context from the first target assuming this is the "primary" target. Although, its unlikely a user would use execution_environment with a multi-target environment.
      072fd5cc
  31. 05 Jul, 2023 2 commits
  32. 02 Jul, 2023 1 commit
  33. 30 Jun, 2023 1 commit