Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for axis_value (0.1 sec)

  1. tensorflow/compiler/mlir/lite/experimental/tac/transforms/device_transform_patterns.cc

      if (!matchPattern(mean_op.getAxis(), m_Constant(&axis_const)))
        return failure();
      if (axis_const.size() != 2) return failure();
      auto axis_values = axis_const.getValues<APInt>();
      int i = 1;
      for (auto axis_value : axis_values) {
        if (axis_value != i++) return failure();
      }
    
      auto output = mean_op.getOutput();
      auto output_type = mlir::dyn_cast_or_null<RankedTensorType>(output.getType());
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 25.4K bytes
    - Viewed (0)
Back to top