Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 221 for initiatives (0.15 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/cc/save_variables.cc

    namespace quantization {
    namespace {
    
    using ::mlir::func::FuncOp;
    using ::mlir::tf_saved_model::GetInitializerFunction;
    using ::mlir::tf_saved_model::kTfSavedModelInitializerRestoreType;
    
    // Adds the tensor that initializes the variable through the provided
    // `assign_var_op` to the `bundle_writer` for saving to checkpoint. Returns the
    // shared name of the variable if a variable is saved successfully. If the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:36:55 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultExclusiveCacheAccessCoordinatorTest.groovy

            1 * cleanupExecutor.cleanup()
            0 * _
    
            when:
            access.cleanup()
    
            then:
            1 * cleanupExecutor.cleanup()
            0 * _
        }
    
        def "initializes cache on open when lock mode is shared by upgrading lock"() {
            def exclusiveLock = Mock(FileLock)
            def sharedLock = Mock(FileLock)
            def access = newAccess(Shared)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 24K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/multicluster.go

    	revision          string
    
    	// secretNamespace where we get cluster-access secrets
    	secretNamespace string
    	component       *multicluster.Component[*kubeController]
    }
    
    // NewMulticluster initializes data structure to store multicluster information
    func NewMulticluster(
    	serverID string,
    	kc kubernetes.Interface,
    	secretNamespace string,
    	opts Options,
    	serviceEntryController *serviceentry.Controller,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  4. src/runtime/rand.go

    // by calling goodrand.
    var globalRand struct {
    	lock  mutex
    	seed  [32]byte
    	state chacha8rand.State
    	init  bool
    }
    
    var readRandomFailed bool
    
    // randinit initializes the global random state.
    // It must be called before any use of grand.
    func randinit() {
    	lock(&globalRand.lock)
    	if globalRand.init {
    		fatal("randinit twice")
    	}
    
    	seed := &globalRand.seed
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 14:32:47 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/stablehlo/python/integration_test/quantize_model_test_base.py

          Bias and activation function are optional.
          """
    
          def __init__(
              self,
              weight_shape: Sequence[int],
          ) -> None:
            """Initializes a MatmulModel.
    
            Args:
              weight_shape: Shape of the weight tensor.
            """
            self.filters = np.random.uniform(low=-1.0, high=1.0, size=weight_shape)
    
            if bias_fn is not None:
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 14 06:31:57 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/schedulinggates/scheduling_gates.go

    		// Pods can be more schedulable once it's gates are removed
    		{Event: framework.ClusterEvent{Resource: framework.Pod, ActionType: framework.Update}, QueueingHintFn: pl.isSchedulableAfterPodChange},
    	}
    }
    
    // New initializes a new plugin and returns it.
    func New(_ context.Context, _ runtime.Object, _ framework.Handle, fts feature.Features) (framework.Plugin, error) {
    	return &SchedulingGates{
    		enableSchedulingQueueHint: fts.EnableSchedulingQueueHint,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. src/os/writeto_linux_test.go

    		t.Fatalf("data length mismatch for net.Conn.Read, got %d, want %d", m, dataSize)
    	}
    	if !bytes.Equal(dstData, data) {
    		t.Errorf("data mismatch, got %s, want %s", dstData, data)
    	}
    }
    
    // newSendFileTest initializes a new test for sendfile.
    //
    // It creates source file and destination sockets, and populates the source file
    // with random data of the specified size. It also hooks package os' call
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. pilot/pkg/bootstrap/monitoring.go

    		}()
    	}
    
    	return m, nil
    }
    
    func (m *monitor) Close() error {
    	if m.monitoringServer != nil {
    		return m.monitoringServer.Close()
    	}
    	return nil
    }
    
    // initMonitor initializes the configuration for the pilot monitoring server.
    func (s *Server) initMonitor(addr string) error { // nolint: unparam
    	s.addStartFunc("monitoring", func(stop <-chan struct{}) error {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 01 14:41:40 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/FixedSharedModeCrossProcessCacheAccessTest.groovy

            then:
            1 * initAction.requiresInitialization(lock) >> false
    
            then:
            1 * onOpenAction.accept(lock)
            0 * _
        }
    
        def "acquires lock then initializes cache and runs handler action on open"() {
            def initialLock = Mock(FileLock)
            def exclusiveLock = Mock(FileLock)
            def sharedLock = Mock(FileLock)
    
            when:
            cacheAccess.open()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. platforms/software/build-init/src/integTest/groovy/org/gradle/buildinit/plugins/KotlinLibraryInitIntegrationTest.groovy

            executed(":lib:test")
    
            where:
            scriptDsl << ScriptDslFixture.SCRIPT_DSLS
        }
    
        @Requires(value = UnitTestPreconditions.KotlinOnlySupportsJdk21Earlier.class)
        def "initializes Kotlin library with JUnit Jupiter test framework"() {
            when:
            run('init', '--type', 'kotlin-library', '--test-framework', 'junit-jupiter', '--java-version', JavaVersion.current().majorVersion)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 03:26:38 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top