- 16 Sep, 2023 1 commit
-
-
Ahsan Saghir authored
-
- 14 Sep, 2023 1 commit
-
-
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.
-
- 10 Sep, 2023 1 commit
-
-
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
-
- 06 Sep, 2023 1 commit
-
-
Ahsan Saghir authored
Re-organizes ref tests to improve the speed of compilation
-