Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for reshape_input (0.14 sec)

  1. tensorflow/compiler/mlir/lite/transforms/optimize.cc

        if (!reshape_op) return failure();
    
        // Check if the last dimension does not change after reshape.
        auto reshape_input = reshape_op.getInput();
        auto reshape_input_ty = mlir::dyn_cast<ShapedType>(reshape_input.getType());
        if (!reshape_input_ty.hasStaticShape() || input_ty.getRank() == 0 ||
            reshape_input_ty.getRank() == 0 ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

                         Type element_type) {
      Value shape_cst = BuildIntArrayConstOp(builder, rewriter, shape, idx_type);
      Value reshaped_input = builder.create<TF::ReshapeOp>(
          RankedTensorType::get(shape, element_type), input, shape_cst);
      return reshaped_input;
    }
    
    // Create a tensor which is equal to input[begin: begin + size].
    Value BuildSliceOp(ImplicitLocOpBuilder& builder,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
Back to top