Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for Add1 (0.04 sec)

  1. src/net/netip/uint128_test.go

    )
    
    func TestUint128AddSub(t *testing.T) {
    	const add1 = 1
    	const sub1 = -1
    	tests := []struct {
    		in   uint128
    		op   int // +1 or -1 to add vs subtract
    		want uint128
    	}{
    		{uint128{0, 0}, add1, uint128{0, 1}},
    		{uint128{0, 1}, add1, uint128{0, 2}},
    		{uint128{1, 0}, add1, uint128{1, 1}},
    		{uint128{0, ^uint64(0)}, add1, uint128{1, 0}},
    		{uint128{^uint64(0), ^uint64(0)}, add1, uint128{0, 0}},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 02 01:28:01 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  2. test/peano.go

    // Test basic functionality
    
    func init() {
    	check(zero(), 0)
    	check(add1(zero()), 1)
    	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)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 30 19:39:18 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/split_into_island_per_op.mlir

      %graph:2 = tf_executor.graph {
        %island:3 = tf_executor.island {
          %add1 = "tf.Add"(%arg0, %arg1) : (tensor<*xi32>, tensor<i32>) -> tensor<*xi32>
          %add2 = "tf.Add"(%add1, %arg1) : (tensor<*xi32>, tensor<i32>) -> tensor<*xi32>
          tf_executor.yield %add1, %add2 : tensor<*xi32>, tensor<*xi32>
        }
        tf_executor.fetch %island#0, %island#1 : tensor<*xi32>, tensor<*xi32>
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/cluster_scoping_pass_test.cc

        Node* add0 = ops::BinaryOp("Add", a, b, builder.opts().WithName("add0"));
        Node* add1 =
            ops::BinaryOp("Add", unstage, b, builder.opts().WithName("add1"));
        Node* relu0 = ops::UnaryOp("Relu", add0, builder.opts().WithName("relu0"));
        ops::UnaryOp("Relu", add1, builder.opts().WithName("relu1"));
        BuildStageNode(builder, "stage", {DT_FLOAT}, {relu0});
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 29 16:20:48 UTC 2020
    - 6.7K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tf-functional-to-executor.mlir

    // CHECK:     %[[ISLAND_RESULT:.*]]:2, {{.*}} = tf_executor.island {
    // CHECK:        %[[ADD1:.*]] = "tf.Add"(%[[ARG0]], %[[ARG1]]) : (tensor<*xi32>, tensor<i32>) -> tensor<*xi32>
    // CHECK:        %[[ADD2:.*]] = "tf.Add"(%[[ADD1]], %[[ARG1]]) : (tensor<*xi32>, tensor<i32>) -> tensor<*xi32>
    // CHECK:        tf_executor.yield %[[ADD1]], %[[ADD2]] : tensor<*xi32>, tensor<*xi32>
    // CHECK:     }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 28 12:06:33 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/update_control_dependencies.mlir

      %graph:2 = tf_executor.graph {
        %add1, %add1_control = tf_executor.island wraps "tf.Add"(%arg0, %arg1) : (tensor<*xi32>, tensor<i32>) -> tensor<*xi32>
        %add2, %add2_control = tf_executor.island wraps "tf.Add"(%add1, %arg1) : (tensor<*xi32>, tensor<i32>) -> tensor<*xi32>
        tf_executor.fetch %add1, %add2 : tensor<*xi32>, tensor<*xi32>
      }
      return %graph#0, %graph#1 : tensor<*xi32>, tensor<*xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Nov 03 18:12:49 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/tests/breakup-islands.mlir

      %graph:2 = tf_executor.graph {
        %island:3 = tf_executor.island {
          %add1 = "tf.Add"(%arg0, %arg1) : (tensor<*xi32>, tensor<i32>) -> tensor<*xi32>
          %add2 = "tf.Add"(%add1, %arg1) : (tensor<*xi32>, tensor<i32>) -> tensor<*xi32>
          tf_executor.yield %add1, %add2 : tensor<*xi32>, tensor<*xi32>
        }
        tf_executor.fetch %island#0, %island#1 : tensor<*xi32>, tensor<*xi32>
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 28.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/promote_resources_to_args.mlir

      // CHECK-NOT: "tf.AssignVariableOp"
      // CHECK: %[[CONST:.*]] = "tf.Const"()
      // CHECK: %[[ADD1:[0-9]*]] = "tf.AddV2"(%arg1, %[[CONST]])
      // CHECK: %[[ADD2:[0-9]*]] = "tf.AddV2"(%[[ADD1]], %[[ADD1]])
      // CHECK: %[[PACK:[0-9]*]] = "tf.Pack"(%arg1, %[[ADD2]])
      // CHECK: return %[[PACK]], %[[ADD1]]
    
      %0 = "tf.Const"() {value = dense<4.200000e+01> : tensor<f32>} : () -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 18.2K bytes
    - Viewed (0)
  9. src/crypto/internal/nistec/p256_asm_s390x.s

    	// ---------------------------------------------------------------------------/
    	VREPF $3, Y0, YDIG
    	VMLF  X0, YDIG, ADD1
    	VMLF  ADD1, K0, MK0
    	VREPF $3, MK0, MK0
    
    	VMLF  X1, YDIG, ADD2
    	VMLHF X0, YDIG, ADD1H
    	VMLHF X1, YDIG, ADD2H
    
    	VMALF  M0, MK0, ADD1, RED1
    	VMALHF M0, MK0, ADD1, RED1H
    	VMALF  M1, MK0, ADD2, RED2
    	VMALHF M1, MK0, ADD2, RED2H
    
    	VSLDB $12, RED2, RED1, RED1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:29:44 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/deadness_analysis_test.cc

      Output add0 =
          ops::Add(root.WithOpName("add0"), sw_0.output_false, sw_1.output_false);
      Output add1 =
          ops::Add(root.WithOpName("add1"), sw_2.output_false, sw_3.output_false);
    
      ops::Merge m0(root.WithOpName("m0"), {add0, add1});
      ops::Merge m1(root.WithOpName("m1"), {add0, add1});
    
      Output add2 = ops::Add(root.WithOpName("add2"), m0.output, m1.output);
    
      std::unique_ptr<DeadnessAnalysis> result;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 06:59:07 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top