Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 308 for deltas (0.19 sec)

  1. src/sync/atomic/type.go

    func (x *Int32) CompareAndSwap(old, new int32) (swapped bool) {
    	return CompareAndSwapInt32(&x.v, old, new)
    }
    
    // Add atomically adds delta to x and returns the new value.
    func (x *Int32) Add(delta int32) (new int32) { return AddInt32(&x.v, delta) }
    
    // And atomically performs a bitwise AND operation on x using the bitmask
    // provided as mask and returns the old value.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_to_hlo_test.cc

      ASSERT_THAT(result, IsOkOrFiltered());
      EXPECT_EQ(mlir_bridge_legalize_count.Delta("tf.Acos"), 0);
      EXPECT_THAT(result,
                  IncrementedOrFiltered(counts.Delta(kMlirCombinedMlirSuccess), 1));
      EXPECT_THAT(result,
                  IncrementedOrFiltered(counts.Delta(kMlirCombinedOldSuccess), 1));
    }
    
    TEST(LegalizeWithCombinedBridge,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 6K bytes
    - Viewed (0)
  3. pkg/controller/garbagecollector/testdata/simple.dot

        name=""
        uid="charlie"
        missing="false"
        beingDeleted="false"
        deletingDependents="false"
        virtual="false"
      ];
      "delta" [
        label="uid=delta\nnamespace=\n./\n"
        group=""
        version=""
        kind=""
        namespace=""
        name=""
        uid="delta"
        missing="false"
        beingDeleted="false"
        deletingDependents="false"
        virtual="false"
      ];
      "foxtrot" [
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 17:12:33 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Count.java

      private int value;
    
      Count(int value) {
        this.value = value;
      }
    
      public int get() {
        return value;
      }
    
      public void add(int delta) {
        value += delta;
      }
    
      public int addAndGet(int delta) {
        return value += delta;
      }
    
      public void set(int newValue) {
        value = newValue;
      }
    
      public int getAndSet(int newValue) {
        int result = value;
        value = newValue;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 05 00:40:25 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Count.java

      private int value;
    
      Count(int value) {
        this.value = value;
      }
    
      public int get() {
        return value;
      }
    
      public void add(int delta) {
        value += delta;
      }
    
      public int addAndGet(int delta) {
        return value += delta;
      }
    
      public void set(int newValue) {
        value = newValue;
      }
    
      public int getAndSet(int newValue) {
        int result = value;
        value = newValue;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 05 00:40:25 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/api/v2/tf_dialect_to_executor_test.cc

      TF_ASSERT_OK(CreateMlirModule("empty_func.mlir"));
    
      TF_EXPECT_OK(ExportFromTensorflowDialectToExecutor(*mlir_module_));
    
      EXPECT_EQ(compilation_status.Delta(kExportSuccess), 1);
      EXPECT_EQ(compilation_status.Delta(kExportFailed), 0);
    }
    
    TEST_F(TensorflowDialectToExecutorTest, ErrorsWhenCannotConvert) {
      CellReader<int64_t> compilation_status(kExportStreamzName);
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon May 13 23:22:50 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/convert_tf_quant_types_test.cc

      })";
      CreateModule(kMlirModuleStr);
      CellReader<int64_t> reader(kMetricsName);
    
      auto result = Run();
    
      EXPECT_TRUE(result.succeeded());
      EXPECT_EQ(reader.Delta("tf.ConcatV2"), 1);
      EXPECT_EQ(reader.Delta("func.return"), 1);
      EXPECT_EQ(reader.Delta("func.func"), 0);
    }
    
    TEST_F(LegalizeTfTypesTest, RecordsStreamzNoQuantOps) {
      static constexpr char kMlirModuleStr[] = R"(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Mar 05 09:05:02 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. src/internal/trace/mud.go

    	// histogram.
    	mudDegree = 1024
    )
    
    type edge struct {
    	// At x, the function increases by y.
    	x, delta float64
    	// Additionally at x is a Dirac delta function with area dirac.
    	dirac float64
    }
    
    // add adds a uniform function over [l, r] scaled so the total weight
    // of the uniform is area. If l==r, this adds a Dirac delta function.
    func (d *mud) add(l, r, area float64) {
    	if area == 0 {
    		return
    	}
    
    	if r < l {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/transforms/verify_tfxla_legalization_test.cc

      CellReader<int64_t> static_error(kNonStaticOpStreamz);
      CreateModule(kNonStaticFailure);
    
      auto result = Run();
    
      EXPECT_TRUE(result.failed());
      EXPECT_EQ(legal_error.Delta("mhlo.dynamic_iota"), 0);
      EXPECT_EQ(static_error.Delta("mhlo.dynamic_iota"), 1);
    }
    
    TEST_F(VerifyTfxlaLegalizationTest, SkipsSpecificNonStaticInputs) {
      // Using a string constant here instead of testdata to make this compatible
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  10. src/image/decode_test.go

    	return image.DecodeConfig(bufio.NewReader(f))
    }
    
    func delta(u0, u1 uint32) int {
    	d := int(u0) - int(u1)
    	if d < 0 {
    		return -d
    	}
    	return d
    }
    
    func withinTolerance(c0, c1 color.Color, tolerance int) bool {
    	r0, g0, b0, a0 := c0.RGBA()
    	r1, g1, b1, a1 := c1.RGBA()
    	r := delta(r0, r1)
    	g := delta(g0, g1)
    	b := delta(b0, b1)
    	a := delta(a0, a1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 15:51:48 UTC 2019
    - 3.7K bytes
    - Viewed (0)
Back to top