Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,473 for sample_2 (0.16 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/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-excludeForDependency/tests/exclude-transitive-for-dependency.sample.conf

        flags: --quiet
        expected-output-file: sample1.out
    },{
        executable: gradle
        args: -Psample2 compileJava printArtifacts
        flags: --quiet
        expected-output-file: sample2.out
    },{
         executable: gradle
         args: -Psample3 compileJava printArtifacts
         flags: --quiet
         expected-output-file: sample3.out
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 409 bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-excludeForDependency/groovy/build.gradle

    repositories {
        mavenCentral()
    }
    
    if (project.hasProperty('sample1')) {
    // tag::exclude-transitive-dependencies-1[]
    dependencies {
        implementation('commons-beanutils:commons-beanutils:1.9.4') {
            exclude group: 'commons-collections', module: 'commons-collections'
        }
    }
    // end::exclude-transitive-dependencies-1[]
    } else if (project.hasProperty('sample2')) {
    // tag::exclude-transitive-dependencies-2[]
        dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. 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)
  5. platforms/documentation/docs/src/snippets/dependencyManagement/managingTransitiveDependencies-excludeForDependency/kotlin/build.gradle.kts

    repositories {
        mavenCentral()
    }
    
    if (project.hasProperty("sample1")) {
    // tag::exclude-transitive-dependencies-1[]
    dependencies {
        implementation("commons-beanutils:commons-beanutils:1.9.4") {
            exclude(group = "commons-collections", module = "commons-collections")
        }
    }
    // end::exclude-transitive-dependencies-1[]
    } else if (project.hasProperty("sample2")) {
    // tag::exclude-transitive-dependencies-2[]
    dependencies {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  6. src/runtime/metrics/sample.go

    import (
    	_ "runtime" // depends on the runtime via a linkname'd function
    	"unsafe"
    )
    
    // Sample captures a single metric sample.
    type Sample struct {
    	// Name is the name of the metric sampled.
    	//
    	// It must correspond to a name in one of the metric descriptions
    	// returned by All.
    	Name string
    
    	// Value is the value of the metric sample.
    	Value Value
    }
    
    // Implemented in the runtime.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 16:59:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  7. 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)
  8. platforms/documentation/docs-asciidoctor-extensions-base/src/main/resources/multi-language-samples.js

      }
    
      function processSampleEl(sampleEl, prefLangId) {
        var codeEl = sampleEl.querySelector("code[data-lang]");
        if (codeEl != null) {
          sampleEl.setAttribute("data-lang", codeEl.getAttribute("data-lang"));
          if (codeEl.getAttribute("data-lang") !== prefLangId) {
            sampleEl.classList.add("hidden");
          } else {
            sampleEl.classList.remove("hidden");
          }
        }
      }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top