Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 480 for mul (0.02 sec)

  1. test/peano.go

    	check(gen(10), 10)
    
    	check(add(gen(3), zero()), 3)
    	check(add(zero(), gen(4)), 4)
    	check(add(gen(3), gen(4)), 7)
    
    	check(mul(zero(), zero()), 0)
    	check(mul(gen(3), zero()), 0)
    	check(mul(zero(), gen(4)), 0)
    	check(mul(gen(3), add1(zero())), 3)
    	check(mul(add1(zero()), gen(4)), 4)
    	check(mul(gen(3), gen(4)), 12)
    
    	check(fact(zero()), 1)
    	check(fact(add1(zero())), 1)
    	check(fact(gen(5)), 120)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 30 19:39:18 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/decompose_resource_ops.mlir

        // CHECK: [[ACCUM_MOMENTUM:%.*]] = "tf.Mul"([[ACCUM]], [[MOMENTUM]])
        // CHECK: [[ACCUM_NEW:%.*]] = "tf.AddV2"([[ACCUM_MOMENTUM]], [[GRAD]])
        // CHECK: "tf.AssignVariableOp"([[ACCUM_HANDLE]], [[ACCUM_NEW]])
        // CHECK: [[GRAD_LR:%.*]] = "tf.Mul"([[GRAD]], [[LR]])
        // CHECK: [[MOMENTUM_LR:%.*]] = "tf.Mul"([[MOMENTUM]], [[LR]])
        // CHECK: [[ACCUM_NEW_MOMENTUM_LR:%.*]] = "tf.Mul"([[ACCUM_NEW]], [[MOMENTUM_LR]])
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 22 19:47:48 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/pruning.mlir

      // CHECK: %[[MUL:.*]] = tfl.mul
      %2 = "tfl.mul"(%0, %1) {fused_activation_function = "NONE"} : (tensor<4xf32>, tensor<4xf32>) -> tensor<4xf32> loc("mul")
      // CHECK: %[[DIV:.*]] = tfl.div
      %3 = "tfl.div"(%2, %1) {fused_activation_function = "NONE"} : (tensor<4xf32>, tensor<4xf32>) -> tensor<4xf32> loc("div")
      // CHECK: %[[EXP:.*]] = "tfl.exp"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 24 07:35:24 UTC 2022
    - 1.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/cc/constant_fold_test.cc

            %cast = "tf.Cast"(%output) : (tensor<1024x24x24x3xi32>) -> tensor<1024x24x24x3xf32>
            %mul = "tf.Mul"(%cast, %scale) : (tensor<1024x24x24x3xf32>, tensor<f32>) -> tensor<1024x24x24x3xf32>
            func.return %mul : tensor<1024x24x24x3xf32>
          }
        }
      )mlir";
    
      OwningOpRef<ModuleOp> module_op_ref = ParseModuleOpString(kModuleCode);
      const auto test_func =
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 07:19:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/graphdef2mlir/partial-device-name.pbtxt

        value {
          type: DT_INT32
        }
      }
    }
    node {
      name: "Mul"
      op: "Mul"
      input: "Add"
      input: "Add"
      # Empty device name should be kept untouched.
      device: ""
      attr {
        key: "T"
        value {
          type: DT_INT32
        }
      }
    }
    node {
      name: "Sub"
      op: "Sub"
      input: "Add"
      input: "Mul"
      # Device name is not modified if complete
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 26 20:48:36 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  6. misc/cgo/gmp/pi.go

    }
    
    func nextTerm(k int64) {
    	y2 := k*2 + 1
    	accum.Add(accum, tmp1.Lsh(numer, 1))
    	accum.Mul(accum, tmp1.SetInt64(y2))
    	numer.Mul(numer, tmp1.SetInt64(k))
    	denom.Mul(denom, tmp1.SetInt64(y2))
    }
    
    func eliminateDigit(d int64) {
    	accum.Sub(accum, tmp1.Mul(denom, tmp1.SetInt64(d)))
    	accum.Mul(accum, ten)
    	numer.Mul(numer, ten)
    }
    
    func main() {
    	i := 0
    	k := int64(0)
    	for {
    		d := int64(-1)
    		for d < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 10 22:32:35 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. tensorflow/cc/framework/scope_test.cc

      EXPECT_EQ(child.GetUniqueNameForOp("add"), "child/add_1");
      EXPECT_EQ(child.GetUniqueNameForOp("mul"), "child/mul");
    
      Scope child_1 = root.NewSubScope("child");
      EXPECT_EQ(child_1.GetUniqueNameForOp("add"), "child_1/add");
      EXPECT_EQ(child_1.GetUniqueNameForOp("add"), "child_1/add_1");
      EXPECT_EQ(child_1.GetUniqueNameForOp("mul"), "child_1/mul");
    
      Scope c_c = root.NewSubScope("c").NewSubScope("c");
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 08:17:37 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  8. tensorflow/cc/gradients/math_grad.cc

                            ZerosLike(scope, x));
        auto gy_1 = Mul(scope, Mul(scope, grad, z), log_x);
        return BinaryGradCommon(scope, op, grad_outputs, gx_1, gy_1);
      } else {
        // There's no sensible real value to return if x < 0, so return 0
        auto log_x = Where3(scope, Greater(scope, x, zero), Log(scope, x),
                            ZerosLike(scope, x));
        auto gy_1 = Mul(scope, Mul(scope, grad, z), log_x);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 50.7K bytes
    - Viewed (0)
  9. src/crypto/internal/nistec/p224.go

    	t0 := new(fiat.P224Element).Mul(p1.x, p2.x)  // t0 := X1 * X2
    	t1 := new(fiat.P224Element).Mul(p1.y, p2.y)  // t1 := Y1 * Y2
    	t2 := new(fiat.P224Element).Mul(p1.z, p2.z)  // t2 := Z1 * Z2
    	t3 := new(fiat.P224Element).Add(p1.x, p1.y)  // t3 := X1 + Y1
    	t4 := new(fiat.P224Element).Add(p2.x, p2.y)  // t4 := X2 + Y2
    	t3.Mul(t3, t4)                               // t3 := t3 * t4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 15.9K bytes
    - Viewed (0)
  10. src/crypto/internal/nistec/p521.go

    	t0 := new(fiat.P521Element).Mul(p1.x, p2.x)  // t0 := X1 * X2
    	t1 := new(fiat.P521Element).Mul(p1.y, p2.y)  // t1 := Y1 * Y2
    	t2 := new(fiat.P521Element).Mul(p1.z, p2.z)  // t2 := Z1 * Z2
    	t3 := new(fiat.P521Element).Add(p1.x, p1.y)  // t3 := X1 + Y1
    	t4 := new(fiat.P521Element).Add(p2.x, p2.y)  // t4 := X2 + Y2
    	t3.Mul(t3, t4)                               // t3 := t3 * t4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 17K bytes
    - Viewed (0)
Back to top