Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 308 for isInitialized (0.18 sec)

  1. tensorflow/c/experimental/next_pluggable_device/c_api.cc

    }
    
    bool TF_CoordinationServiceIsInitialized(TF_CoordinationServiceAgent* agent) {
      if (agent == nullptr) return false;
      auto* cc_agent = reinterpret_cast<tsl::CoordinationServiceAgent*>(agent);
      return cc_agent->IsInitialized();
    }
    
    void TF_CoordinationServiceInsertKeyValue(const char* key, int64_t key_size,
                                              const char* value, int64_t value_size,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 22 05:48:24 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/DefaultConfigurationCache.kt

            stoppable.add(store)
            stoppable.stop()
        }
    
        private
        fun CompositeStoppable.addIfInitialized(closeable: Lazy<*>) {
            if (closeable.isInitialized()) {
                add(closeable.value)
            }
        }
    
        private
        fun checkFingerprint(): CheckedFingerprint {
            return store.useForStateLoad { layout ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.cc

      }
      if (!result.ok()) {
        status->status = result;
        return;
      }
    
      // Store results in c_outputs[]
      for (int i = 0; i < noutputs; ++i) {
        const Tensor& src = outputs[i];
        if (!src.IsInitialized() || src.NumElements() == 0) {
          c_outputs[i] =
              EmptyTensor(static_cast<TF_DataType>(src.dtype()), src.shape());
          continue;
        }
        c_outputs[i] = TF_TensorFromTensor(src, &status->status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/testshared/testdata/depBase/dep.go

    	"os"
    	"reflect"
    
    	"testshared/depBaseInternal"
    )
    
    // Issue 61973: indirect dependencies are not initialized.
    func init() {
    	if !depBaseInternal.Initialized {
    		panic("depBaseInternal not initialized")
    	}
    	if os.Stdout == nil {
    		panic("os.Stdout is nil")
    	}
    
    	Initialized = true
    }
    
    var Initialized bool
    
    var SlicePtr interface{} = &[]int{}
    
    var V int = 1
    
    var HasMask []string = []string{"hi"}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 1K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/NativeServicesIntegrationTest.groovy

            then:
            nativeDir.exists() == initialized
    
            where:
            // Works for all cases except -D$NATIVE_SERVICES_OPTION=false
            description       | systemProperties                    | initialized
            "initialized"     | ["-D$NATIVE_SERVICES_OPTION=true"]  | true
            "not initialized" | ["-D$NATIVE_SERVICES_OPTION=false"] | true // Should be false
            "initialized"     | ["-D$NATIVE_SERVICES_OPTION=''"]    | true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 05:18:22 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/jit/xla_launch_util.cc

          arg.definition_stack_trace = variable.definition_stack_trace();
          if (variable.var() && variable.var()->is_initialized) {
            const Tensor* value = variable.var()->tensor();
            arg.type = value->dtype();
            arg.shape = value->shape();
            arg.initialized = true;
          } else {
            // The values of uninitialized variables are not passed as inputs, since
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 00:36:08 UTC 2024
    - 40.4K bytes
    - Viewed (0)
  7. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultPersistentDirectoryCacheTest.groovy

            cache.open()
    
            then:
            initialized
    
            cleanup:
            cache.close()
        }
    
        def "will rebuild cache if cache.properties is missing and properties are not empty"() {
            given:
            def dir = createCacheDir()
            def initialized = false
            def init = { initialized = true } as Consumer
            def properties = [foo: 'bar']
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 16:40:49 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  8. scan.go

    				} else {
    					// if the slice cap is externally initialized, the externally initialized slice is directly used here
    					if reflectValue.Cap() == 0 {
    						db.Statement.ReflectValue.Set(reflect.MakeSlice(reflectValue.Type(), 0, 20))
    					} else {
    						reflectValue.SetLen(0)
    						db.Statement.ReflectValue.Set(reflectValue)
    					}
    				}
    			}
    
    			for initialized || rows.Next() {
    			BEGIN:
    				initialized = false
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:57:36 UTC 2024
    - 10K bytes
    - Viewed (0)
  9. tensorflow/c/kernels_experimental.cc

                                   *(*ptr)->tensor() = value;
                                   (*ptr)->is_initialized = true;
                                   return absl::OkStatus();
                                 }));
      tensorflow::mutex_lock ml(*variable->mu());
    
      if (validate_shape) {
        OP_REQUIRES(cc_ctx,
                    (!variable->is_initialized ||
                     variable->tensor()->shape().IsSameSize(value.shape())),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 23 06:12:29 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  10. internal/config/storageclass/storage-class.go

    //
    // -- if input storage class is empty then standard is assumed
    //
    // -- if input is RRS but RRS is not configured/initialized '-1' parity
    //
    //	for RRS is assumed, the caller is expected to choose the right parity
    //	at that point.
    //
    // -- if input is STANDARD but STANDARD is not configured/initialized '-1' parity
    //
    //	is returned, the caller is expected to choose the right parity
    //	at that point.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top