Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,125 for Initialize (0.15 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/fake_session.cc

    };
    FakeSessionOptions* kSessionOptions = []() { return new FakeSessionOptions; }();
    }  // namespace
    
    FakeSession::FakeSession() {
      // We don't initialize devices in constructor as it causes some
      // global initialization fiasco between tests and code in TF.
    }
    
    void FakeSession::Initialize() {
      if (initialized_) return;
      BuildDeviceManager();
      InitVariables();
      initialized_ = true;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/immediate_execution_distributed_manager.h

    class ImmediateExecutionDistributedManager {
     public:
      virtual ~ImmediateExecutionDistributedManager() {}
    
      // Set up distributed execution environment on local and remote tasks.
      // When `reset_context` is true, initialize new cluster context state based
      // on cluster configurations provided in `server_def`; otherwise, update
      // existing context state with the provided `server_def`. Contexts created
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelTransformerContextBuilder.java

     * @since 4.0.0
     */
    public interface ModelTransformerContextBuilder {
        /**
         * This method is used to initialize the TransformerContext
         *
         * @param request the modelBuildingRequest
         * @param problems the problemCollector
         * @return the mutable transformerContext
         */
        ModelTransformerContext initialize(ModelBuilderRequest request, ModelProblemCollector problems);
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/FixedSharedModeCrossProcessCacheAccessTest.groovy

            1 * initAction.requiresInitialization(exclusiveLock) >> true
            1 * exclusiveLock.writeFile(_) >> { Runnable r -> r.run() }
            1 * initAction.initialize(exclusiveLock)
            1 * exclusiveLock.close()
    
            then:
            1 * lockManager.lock(file, lockOptions, "<cache>") >> sharedLock
            1 * initAction.requiresInitialization(sharedLock) >> false
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. tensorflow/c/eager/gradient_checker.cc

             TF_TensorByteSize(theta_tensor));
    
      // Initialize space for the numerical gradient.
      vector<float> dtheta_approx(num_elems);
    
      // Get theta shape and store in theta_dims.
      int num_dims = TF_NumDims(theta_tensor);
      vector<int64_t> theta_dims(num_dims);
      GetDims(theta_tensor, theta_dims.data());
    
      // Initialize auxilary data structures.
      vector<float> thetaPlus_data(num_elems);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. pkg/kubeapiserver/admission/initializer_test.go

    func TestCloudConfigAdmissionPlugin(t *testing.T) {
    	cloudConfig := []byte("cloud-configuration")
    	initializer := NewPluginInitializer(cloudConfig)
    	wantsCloudConfigAdmission := &WantsCloudConfigAdmissionPlugin{}
    	initializer.Initialize(wantsCloudConfigAdmission)
    
    	if wantsCloudConfigAdmission.cloudConfig == nil {
    		t.Errorf("Expected cloud config to be initialized but found nil")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  7. testing/architecture-test/src/test/java/org/gradle/architecture/library/freeze/LineNumberIgnoringViolationStore.java

        private final ViolationStore delegate;
    
        public LineNumberIgnoringViolationStore() {
            delegate = new TextFileBasedViolationStore();
        }
    
        @Override
        public void initialize(Properties properties) {
            delegate.initialize(properties);
        }
    
        @Override
        public boolean contains(ArchRule rule) {
            return delegate.contains(rule);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. cmd/typed-errors.go

    var errInvalidRangeSource = errors.New("Range specified exceeds source object size")
    
    // error returned by disks which are to be initialized are waiting for the
    // first server to initialize them in distributed set to initialize them.
    var errNotFirstDisk = errors.New("Not first drive")
    
    // error returned by first disk waiting to initialize other servers.
    var errFirstDiskWait = errors.New("Waiting on other drives")
    
    // error returned for a negative actual size.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. cmd/config-current_test.go

    	}
    
    	if err := saveServerConfig(context.Background(), objLayer, globalServerConfig); err != nil {
    		t.Fatalf("Unable to save updated config file %s", err)
    	}
    
    	// Initialize server config.
    	if err := loadConfig(objLayer, nil); err != nil {
    		t.Fatalf("Unable to initialize from updated config file %s", err)
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/FixedExclusiveModeCrossProcessCacheAccessTest.groovy

            1 * initAction.requiresInitialization(lock) >> true
            1 * lock.writeFile(_) >> { Runnable r -> r.run() }
            1 * initAction.initialize(lock)
    
            then:
            1 * onOpenAction.accept(lock)
            0 * _
        }
    
        def "releases lock when initialization fails"() {
            def lock = Mock(FileLock)
            def failure = new RuntimeException()
    
            when:
            cacheAccess.open()
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top