Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 439 for mul (0.06 sec)

  1. tensorflow/c/experimental/gradients/math_grad.cc

        /* Given upstream grad U and a mul op A*B, the gradients are:
         *
         *    dA = U * B
         *    dB = A * U
         *
         */
    
        AbstractTensorHandle* upstream_grad = grad_outputs[0];
    
        // Gradient for A
        std::string name = "Mul_Grad_A";
        TF_RETURN_IF_ERROR(Mul(ctx, upstream_grad, forward_inputs_[1],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 28 13:53:47 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  2. src/net/rpc/jsonrpc/all_test.go

    	reply = new(Reply)
    	err = client.Call("Arith.Mul", args, reply)
    	if err != nil {
    		t.Errorf("Mul: expected no error but got string %q", err.Error())
    	}
    	if reply.C != args.A*args.B {
    		t.Errorf("Mul: got %d expected %d", reply.C, args.A*args.B)
    	}
    
    	// Out of order.
    	args = &Args{7, 8}
    	mulReply := new(Reply)
    	mulCall := client.Go("Arith.Mul", args, mulReply, nil)
    	addReply := new(Reply)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:09:53 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tpu_bridge_v1/end_to_end.mlir

          %outputs_9, %control_10 = tf_executor.island wraps "tf.Mul"(%outputs_7, %outputs) {T = "tfdtype$DT_FLOAT", _tpu_replicate = "cluster", device = "", name = "mul"} : (tensor<0xf32>, tensor<f32>) -> tensor<0xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 21:23:47 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/disable_flex_enable_builtin.mlir

    // CHECK-NEXT:}
    
      %0 = "tfl.pseudo_const" () {value = dense<1.0> : tensor<4xf32>} : () -> tensor<4xf32> loc("Const")
      %1 = "tfl.mul"(%arg0, %0) {fused_activation_function = "NONE"} : (tensor<4xf32>, tensor<4xf32>) -> tensor<4xf32> loc("mul0")
      %2 = "tfl.mul"(%1, %0) {fused_activation_function = "NONE"} : (tensor<4xf32>, tensor<4xf32>) -> tensor<4xf32> loc("mul1")
      %3 = "tfl.exp"(%2)  : (tensor<4xf32>) -> tensor<4xf32> loc("exp")
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/tests/prepare_lifting.mlir

    // CHECK-DAG: %[[CONST_0:.*]] = "tf.Const"() <{value = dense<0.999950051> : tensor<2xf32>}> : () -> tensor<2xf32>
    // CHECK: %[[mul:.*]] = "tf.Mul"(%arg0, %[[CONST_0]]) : (tensor<*xf32>, tensor<2xf32>) -> tensor<*xf32>
    // CHECK: %[[add:.*]] = "tf.AddV2"(%[[mul]], %[[CONST]]) : (tensor<*xf32>, tensor<2xf32>) -> tensor<*xf32>
    // CHECK-NEXT: return %[[add]] : tensor<*xf32>
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 14 03:24:59 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/testdata/gen/arithConstGen.go

    	{name: "int64", sn: "64", i: []int64{-0x8000000000000000, -0x7FFFFFFFFFFFFFFF,
    		-4294967296, -1, 0, 1, 4294967296, 0x7FFFFFFFFFFFFFFE, 0x7FFFFFFFFFFFFFFF}},
    	{name: "int64", sn: "64", i: []int64{-9, -5, -3, 3, 5, 7, 9, 10, 11, 13, 19, 21, 25, 27, 37, 41, 45, 73, 81}, oponly: "mul"},
    
    	{name: "uint32", sn: "32", u: []uint64{0, 1, 4294967295}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  7. src/crypto/ecdsa/ecdsa_legacy.go

    			kInv = new(big.Int).ModInverse(k, N)
    
    			r, _ = c.ScalarBaseMult(k.Bytes())
    			r.Mod(r, N)
    			if r.Sign() != 0 {
    				break
    			}
    		}
    
    		e := hashToInt(hash, c)
    		s = new(big.Int).Mul(priv.D, r)
    		s.Add(s, e)
    		s.Mul(s, kInv)
    		s.Mod(s, N) // N != 0
    		if s.Sign() != 0 {
    			break
    		}
    	}
    
    	return encodeSignature(r.Bytes(), s.Bytes())
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:11:18 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/quantization/tensorflow/tests/replace_cast_hacks_with_tf_xla_ops_large_constants.mlir

        %6 = "tf.Mul"(%arg2, %arg4) : (tensor<f32>, tensor<512xf32>) -> tensor<512xf32>
        %7 = "tf.Div"(%6, %arg6) : (tensor<512xf32>, tensor<f32>) -> tensor<512xf32>
        %8 = "tf.Cast"(%5) {Truncate = false} : (tensor<1x2240x1120x512xi32>) -> tensor<1x2240x1120x512xf32>
        %9 = "tf.Mul"(%7, %8) : (tensor<512xf32>, tensor<1x2240x1120x512xf32>) -> tensor<1x2240x1120x512xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. src/crypto/dsa/dsa.go

    	}
    
    	n := pub.Q.BitLen()
    	if n%8 != 0 {
    		return false
    	}
    	z := new(big.Int).SetBytes(hash)
    
    	u1 := new(big.Int).Mul(z, w)
    	u1.Mod(u1, pub.Q)
    	u2 := w.Mul(r, w)
    	u2.Mod(u2, pub.Q)
    	v := u1.Exp(pub.G, u1, pub.P)
    	u2.Exp(pub.Y, u2, pub.P)
    	v.Mul(v, u2)
    	v.Mod(v, pub.P)
    	v.Mod(v, pub.Q)
    
    	return v.Cmp(r) == 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  10. src/crypto/internal/nistec/fiat/generate.go

    func (e *{{ .Element }}) Sub(t1, t2 *{{ .Element }}) *{{ .Element }} {
    	{{ .Prefix }}Sub(&e.x, &t1.x, &t2.x)
    	return e
    }
    
    // Mul sets e = t1 * t2, and returns e.
    func (e *{{ .Element }}) Mul(t1, t2 *{{ .Element }}) *{{ .Element }} {
    	{{ .Prefix }}Mul(&e.x, &t1.x, &t2.x)
    	return e
    }
    
    // Square sets e = t * t, and returns e.
    func (e *{{ .Element }}) Square(t *{{ .Element }}) *{{ .Element }} {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 12 00:04:29 UTC 2022
    - 9.1K bytes
    - Viewed (0)
Back to top