torch-mlir/test/Dialect/Torch
Gaurav Shukla 442ff4605c [LINALG] Decompose `aten.batch_norm` into `aten.native_batch_norm`
- This commit decomposes the `aten.batch_norm` op into the
  `aten.native_batch_norm` op, instead of lowering it to the
  `linalg.generic` op.
- It also adds run-time asserts in the `aten.native_batch_norm` lowering
  to make sure that the shape of the weight, bias, running_mean, and
  running_var must match the num of features.
- Since the `aten.native_batch_norm` op is not supported at TOSA backend,
  all the modules that are dependent on the `aten.native_batch_norm` op
  will fail and therefore they should be removed from the TOSA `passing`
  set.
- It also moves `checkNotNone` to utility.

Signed-Off-by: Gaurav Shukla <gaurav@nod-labs.com>
2022-02-16 23:41:38 +05:30
..
GlobalizeObjectGraph Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00
adjust-calling-conventions.mlir Add support for multiple return values 2021-11-16 21:07:45 -05:00
canonicalize.mlir [LINALG] Add E2E support for `aten.[Bool.Tensor|Float.Tensor]` op 2022-02-14 23:09:20 +05:30
decompose-complex-ops.mlir [LINALG] Decompose `aten.batch_norm` into `aten.native_batch_norm` 2022-02-16 23:41:38 +05:30
inline-global-slots.mlir Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00
invalid.mlir Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00
maximize-value-semantics.mlir Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00
ops.mlir Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00
prepare-for-globalize-object-graph.mlir Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00
promote-types.mlir Make broadcasting result shape more static 2022-01-06 18:39:27 -05:00
reduce-op-variants-error.mlir Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00
reduce-op-variants.mlir [LINALG] Add value tensor variant to `fill_.Scalar` (#600) 2022-02-15 11:58:03 -08:00
refine-public-return.mlir Add support for multiple return values 2021-11-16 21:07:45 -05:00
refine-types-branch.mlir Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00
refine-types.mlir RefineTypes fixes for TOSA backend (#557) 2022-02-01 14:08:54 -08:00