Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 182 for sample_2 (1.78 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset_test.py

          for input_key in sample_1:
            self._assert_tensorlike_all_close(
                sess, sample_1[input_key], sample_2[input_key]
            )
    
      def test_not_implemented_saver(self):
        with self.assertRaisesRegex(
            NotImplementedError, '"save" is not implemented.'
        ):
          repr_dataset.RepresentativeDatasetSaver().save(representative_dataset={})
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 04 07:35:19 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/ExclusiveVariantsIntegrationTest.groovy

            outputContains("org.gradle:sample:1.0 (default capability)")
        }
    
        def "attribute combinations can be repeated if capabilities differ without a warning"() {
            given:
            settingsFile << "rootProject.name = 'sample'"
            buildFile << """
                plugins {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 20:34:52 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_experimental_test.cc

      TF_DeleteBuffer(result1);
      TFE_MonitoringDeleteSampler1(sampler1);
    
      auto* sampler2 = TFE_MonitoringNewSampler2("test/sampler2", buckets, status,
                                                 "test", "label1", "label2");
      CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      auto* cell2 = TFE_MonitoringGetCellSampler2(sampler2, "foo", "bar");
      TFE_MonitoringSamplerCellAdd(cell2, 2.0);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 03 03:14:26 UTC 2023
    - 31.5K bytes
    - Viewed (0)
  4. src/internal/trace/generation.go

    // (indicating that the batch contains only CPU samples) and adds each
    // sample contained therein to the provided samples list.
    func addCPUSamples(samples []cpuSample, b batch) ([]cpuSample, error) {
    	if !b.isCPUSamplesBatch() {
    		return nil, fmt.Errorf("internal error: addCPUSamples called on non-CPU-sample batch")
    	}
    	r := bytes.NewReader(b.data)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 22:14:45 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  5. pilot/pkg/networking/core/tracing.go

    	}
    
    	// provider.sampler > telemetry.RandomSamplingPercentage > defaultConfig.tracing.sampling > PILOT_TRACE_SAMPLING
    	var sampling float64
    	if useCustomSampler {
    		// If the TracingProvider has a custom sampler (OTel Sampler)
    		// the sampling percentage is set to 100% so all spans arrive at the sampler for its decision.
    		sampling = 100
    	} else if spec.RandomSamplingPercentage != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  6. src/runtime/metrics_test.go

    	descs := metrics.All()
    	var samples [2][]metrics.Sample
    	samples[0] = make([]metrics.Sample, len(descs))
    	samples[1] = make([]metrics.Sample, len(descs))
    	total := 0
    	for i := range samples[0] {
    		if !descs[i].Cumulative {
    			continue
    		}
    		samples[0][total].Name = descs[i].Name
    		total++
    	}
    	samples[0] = samples[0][:total]
    	samples[1] = samples[1][:total]
    	copy(samples[1], samples[0])
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 45K bytes
    - Viewed (0)
  7. platforms/documentation/docs/build.gradle

                excludeTestsMatching "org.gradle.docs.samples.*.building-swift*.sample"
                // We don't have Android SDK installed on mac M1 now
                excludeTestsMatching "org.gradle.docs.samples.*.building-android-*.sample"
                excludeTestsMatching "org.gradle.docs.samples.*.structuring-software-projects*android-app.sample"
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 15:37:11 UTC 2024
    - 42K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/tracing_test.go

    								Value: "custom-value",
    							},
    							AppendAction: core.HeaderValueOption_OVERWRITE_IF_EXISTS_OR_ADD,
    						},
    					},
    				},
    				Sampler: &core.TypedExtensionConfig{
    					Name: "envoy.tracers.opentelemetry.samplers.dynatrace",
    					TypedConfig: protoconv.MessageToAny(&otelsamplers.DynatraceSamplerConfig{
    						Tenant:             tc.dtTenant,
    						ClusterId:          tc.dtClusterID,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 20:47:52 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/authoring-builds/structuring/composite_builds.adoc

    ====
    include::sample[dir="samples/build-organization/composite-builds/basic/kotlin",files="build.gradle.kts[tags=run]"]
    include::sample[dir="samples/build-organization/composite-builds/basic/groovy",files="build.gradle[tags=run]"]
    ====
    
    Or you can declare a dependency on tasks with a certain path in some or all of the included builds:
    
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 31 02:23:19 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/python/representative_dataset.py

            sample_proto = _RepresentativeDataSample.FromString(
                sample_bytes.numpy()
            )
            sample = {}
            for input_key, tensor_proto in sample_proto.tensor_proto_inputs.items():
              sample[input_key] = tensor_util.MakeNdarray(tensor_proto)
            samples.append(sample)
        return samples
    
      def load(self) -> RepresentativeDatasetMapping:
        """Loads the representative datasets.
    
        Returns:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 22:55:22 UTC 2024
    - 14.2K bytes
    - Viewed (0)
Back to top