Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for IsTailOfShape (0.11 sec)

  1. tensorflow/compiler/mlir/lite/transforms/optimize_patterns.td

                  $act_fn),
        (TFL_ReshapeOp (BinaryOp $input1, $input2, $act_fn), $shape1),
        [(IsTailOfShape $rhs, $lhs),
          (IsTailOfShape $lhs, $rhs),
          (IsTailOfShape $input1, $input2),
          (IsTailOfShape $input2, $input1),
          (SameElementType $input1, $input2)]>;
    
      // Move binary op batched RHS before reshape:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 66.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/transforms/optimize.cc

    }
    
    // Returns whether if `type1` dimensions are the same as the ending dimensions
    // of `type2`. This is more restricted than broadcastable.
    bool IsTailOfShape(Type type1, Type type2) {
      auto tail_type = mlir::dyn_cast<ShapedType>(type1);
      auto full_type = mlir::dyn_cast<ShapedType>(type2);
      if (!tail_type || !full_type || !tail_type.hasRank() ||
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 00:40:15 UTC 2024
    - 102.3K bytes
    - Viewed (0)
Back to top