Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getShapeValue (1.75 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/unfuse_batch_norm_pass.cc

      return rewriter.create<mhlo::BroadcastInDimOp>(loc, result_type, value1d,
                                                     dims);
    }
    
    // Gets the shape of operand, assuming it is a dynamic shape with static rank.
    Value getShapeValue(Location loc, Value operand, PatternRewriter &rewriter) {
      RankedTensorType resultType =
          mlir::dyn_cast<RankedTensorType>(operand.getType());
      return rewriter.create<shape::ShapeOfOp>(
          loc,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
Back to top