Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 19 of 19 for floor_mod (0.29 sec)

  1. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_patterns.td

    def : Pat<(TF_FloorDivOp AnyTensor:$l, AnyTensor:$r),
              (CHLO_BroadcastDivOp $l, $r, (BinBroadcastDimensions $l, $r)),
              [(UnsignedIntTensor $l)]>;
    
    // Performs a substitution of FloorMod designed to correct for possibly negative
    // values. Pseudocode shown below:
    //
    //   T trunc_mod = std::fmod(x, y);
    //   return trunc_mod != 0 && (y < 0 != trunc_mod < 0) ? trunc_mod + y
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf.mlir

      // CHECK-NEXT: return [[SELECT]]
      %0 = "tf.FloorMod"(%arg0, %arg1) : (tensor<?x?xi32>, tensor<?xi32>) -> tensor<?x?xi32>
      func.return %0: tensor<?x?xi32>
    }
    
    // -----
    
    // CHECK-LABEL: func @floormod_dynamic_broadcast_denominator
    func.func @floormod_dynamic_broadcast_denominator_(%arg0: tensor<?x?xf32>, %arg1: tensor<?x?x?xf32>) -> tensor<?x?x?xf32> {
      // CHECK-NOT: tf.FloorMod
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 06 18:46:23 UTC 2024
    - 335.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/schema/schema_generated.h

    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 18:21:50 UTC 2024
    - 1M bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

      func.return %15 : tensor<8x128xbf16>
    }
    
    // CHECK-LABEL: func @convert_floor_mod_float
    // CHECK: %[[RESULT:.*]] = "tf.FloorMod"(%arg0, %arg1) : (tensor<192x8xbf16>, tensor<192x8xbf16>) -> tensor<192x8xbf16>
    // CHECK: return %[[RESULT]]
    // CHECK: }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 340.2K bytes
    - Viewed (0)
  5. RELEASE.md

        *   Added 16-bit int type support for built-in op `less`, `greater_than`, `equal`
        *   Added 8-bit and 16-bit support for `floor_div` and `floor_mod`.
        *   Added 16-bit and 32-bit int support for the built-in op `bitcast`.
        *   Added 8-bit/16-bit/32-bit int/uint support for the built-in op `bitwise_xor`
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/mark_for_compilation_pass.cc

                "Lgamma", "Digamma",
                // Binary
                "Add", "AddV2", "Sub", "Mul", "Div", "Atan2", "Complex", "DivNoNan",
                "MulNoNan", "FloorDiv", "Xlogy", "Xlog1py", "Xdivy", "FloorMod",
                "BitwiseAnd", "BitwiseOr", "BitwiseXor", "LeftShift", "RightShift",
                "LogicalAnd", "LogicalOr", "Mod", "Maximum", "Minimum", "RealDiv",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/prepare-composite-functions-tf.mlir

      %6 = "tf.Const"() {value = dense<[1, 0]> : tensor<2xi32>} : () -> tensor<2xi32>
      %7 = "tf.FloorDiv"(%arg1, %5) {device = ""} : (tensor<1x1x2x1xi32>, tensor<i32>) -> tensor<1x1x2x1xi32>
      %8 = "tf.FloorMod"(%7, %4) {device = ""} : (tensor<1x1x2x1xi32>, tensor<i32>) -> tensor<1x1x2x1xi32>
      %9 = "tf.FloorDiv"(%arg1, %4) {device = ""} : (tensor<1x1x2x1xi32>, tensor<i32>) -> tensor<1x1x2x1xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 122.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf.cc

            op.getLoc(),
            ChangeTensorElementType(&rewriter, out_type, rewriter.getF32Type()), l,
            r);
    
        auto floor_op =
            rewriter.create<ConvertOp>(op.getLoc(), out_type, intermediate);
        rewriter.replaceOp(op, floor_op.getResult());
        return success();
      }
    };
    
    class ConvertBroadcastToOp : public OpRewritePattern<TF::BroadcastToOp> {
     public:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 20:00:43 UTC 2024
    - 291.8K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    }
    
    def TF_FloorModOp : TF_Op<"FloorMod", [Pure, ResultsBroadcastableShape, TF_SameOperandsAndResultElementTypeResolveRef]>,
                        WithBroadcastableBinOpBuilder {
      let summary = "Returns element-wise remainder of division.";
    
      let description = [{
    This follows Python semantics in that the
    result here is consistent with a flooring divide. E.g.
    `floor(x / y) * y + floormod(x, y) = x`, regardless of the signs of x and y.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
Back to top