Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 123 for asset0 (0.15 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/python/integration_test/quantize_model_test_base.py

          * output_tensor is a float 2x2 matrix
        """
        # Creates and populates an asset file.
        asset_dir = self.create_tempdir('assets').full_path
        asset_file = os.path.join(asset_dir, 'vocab_file.txt')
        file_io.write_string_to_file(
            filename=asset_file, file_content='hello,model,quantization\n'
        )
    
        vocab_file = asset.Asset(asset_file)
    
        raw_vocab = io_ops.read_file(vocab_file)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 21 08:51:46 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest.h

    //
    //    * {ASSERT|EXPECT}_EQ(expected, actual): Tests that expected == actual
    //    * {ASSERT|EXPECT}_NE(v1, v2):           Tests that v1 != v2
    //    * {ASSERT|EXPECT}_LT(v1, v2):           Tests that v1 < v2
    //    * {ASSERT|EXPECT}_LE(v1, v2):           Tests that v1 <= v2
    //    * {ASSERT|EXPECT}_GT(v1, v2):           Tests that v1 > v2
    //    * {ASSERT|EXPECT}_GE(v1, v2):           Tests that v1 >= v2
    //
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 86.4K bytes
    - Viewed (0)
  3. pkg/kubelet/stats/cri_stats_provider_test.go

    	assert.Nil(c0.Rootfs)
    	assert.Nil(c0.Logs)
    	assert.Nil(c0.Accelerators)
    	assert.Nil(c0.UserDefinedMetrics)
    	c1 := containerStatsMap[cName1]
    	assert.Equal(container1.CreatedAt, c1.StartTime.UnixNano())
    	checkCRICPUAndMemoryStats(assert, c1, infos[container1.ContainerStatus.Id].Stats[0])
    	assert.Nil(c1.Rootfs)
    	assert.Nil(c1.Logs)
    	assert.Nil(c1.Accelerators)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 14:24:16 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanParallelTest.groovy

                    assert finalizedPlan.executionState() == WorkSource.State.MaybeWorkReadyToStart
                } else {
                    assert finalizedPlan.executionState() == WorkSource.State.NoMoreWorkToStart
                }
                assert finalizedPlan.selectNext().noMoreWorkToStart
                assert finalizedPlan.executionState() == WorkSource.State.NoMoreWorkToStart
                assert finalizedPlan.allExecutionComplete()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 93.5K bytes
    - Viewed (0)
  5. pkg/kubelet/volumemanager/reconciler/reconciler_test.go

    		kubeletPodsDir)
    
    	// Act
    	runReconciler(reconciler)
    
    	// Assert
    	assert.NoError(t, volumetesting.VerifyZeroAttachCalls(fakePlugin))
    	assert.NoError(t, volumetesting.VerifyZeroWaitForAttachCallCount(fakePlugin))
    	assert.NoError(t, volumetesting.VerifyZeroMountDeviceCallCount(fakePlugin))
    	assert.NoError(t, volumetesting.VerifyZeroSetUpCallCount(fakePlugin))
    	assert.NoError(t, volumetesting.VerifyZeroTearDownCallCount(fakePlugin))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 75.4K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/graph/builder/NodeState.java

        }
    
        void forEachCapability(CapabilitiesConflictHandler capabilitiesConflictHandler, Action<? super Capability> action) {
            ImmutableSet<ImmutableCapability> capabilities = metadata.getCapabilities().asSet();
            // If there's more than one node selected for the same component, we need to add
            // the implicit capability to the list, in order to make sure we can discover conflicts
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 14:19:34 UTC 2024
    - 58.9K bytes
    - Viewed (0)
  7. pkg/kubelet/server/server_test.go

    				assert.Equal(t, expectedPodName, podFullName, "podFullName")
    				if test.uid {
    					assert.Equal(t, testUID, string(uid), "uid")
    				}
    				assert.Equal(t, expectedContainerName, containerName, "containerName")
    				assert.Equal(t, test.stdin, streamOpts.Stdin, "stdin")
    				assert.Equal(t, test.stdout, streamOpts.Stdout, "stdout")
    				assert.Equal(t, test.tty, streamOpts.TTY, "tty")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  8. pkg/registry/core/pod/strategy_test.go

    			}, pod.Annotations)
    			assert.Nil(t, pod.Spec.SecurityContext)
    			assert.Equal(t, api.AppArmorProfileTypeLocalhost, pod.Spec.InitContainers[0].SecurityContext.AppArmorProfile.Type)
    			assert.Equal(t, api.AppArmorProfileTypeUnconfined, pod.Spec.Containers[0].SecurityContext.AppArmorProfile.Type)
    			assert.Nil(t, pod.Spec.Containers[1].SecurityContext)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  9. pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go

    	assert.Equal(t,
    		len(s.lookup(s.svcXdsName("waypoint-ns"))), 2)
    	for _, k := range s.lookup(s.svcXdsName("waypoint-ns")) {
    		switch k.Type.(type) {
    		case *workloadapi.Address_Workload:
    			assert.Equal(t, k.Address.GetWorkload().Name, "waypoint-ns-pod")
    			assert.Equal(t, k.Address.GetWorkload().Waypoint, nil)
    		case *workloadapi.Address_Service:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 01:04:50 UTC 2024
    - 70.2K bytes
    - Viewed (0)
  10. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/attributes/AbstractConfigurationAttributesResolveIntegrationTest.groovy

                        doLast {
                           assert files.collect { it.name } == ['b-foo.jar']
                        }
                    }
                    task checkRelease(dependsOn: configurations._compileFreeRelease) {
                        def files = configurations._compileFreeRelease
                        doLast {
                           assert files.collect { it.name } == ['b-bar.jar']
                        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 17:30:11 UTC 2024
    - 64K bytes
    - Viewed (0)
Back to top