Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,081 for initialize_ (0.21 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/testfixtures/internal/NativeServicesTestFixture.java

        static NativeServices nativeServices;
        static boolean initialized;
    
        public static synchronized void initialize() {
            if (!initialized) {
                System.setProperty("org.gradle.native", "true");
                File nativeDir = getNativeServicesDir();
                NativeServices.initializeOnDaemon(nativeDir, NativeServicesMode.fromSystemProperties());
                initialized = true;
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. internal/cachevalue/cache.go

    // NewFromFunc allocates a new cached value instance and initializes it with an
    // update function, making it ready for use.
    func NewFromFunc[T any](ttl time.Duration, opts Opts, update func(ctx context.Context) (T, error)) *Cache[T] {
    	return &Cache[T]{
    		ttl:      ttl,
    		updateFn: update,
    		opts:     opts,
    	}
    }
    
    // InitOnce initializes the cache with a TTL and an update function. It is
    // guaranteed to be called only once.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 12:50:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/common_v1.py

          lift variables.
        lift_variables: If false, no variable lifting will be done on the graph.
        include_variables_in_initializers: If false, removes variables in
          initializer functions before lifting variables or adding new variable
          initialization patterns in the initializer function.
      """
    
      # Make LOG(ERROR) in C++ code show up on the console.
      # All `Status` passed around in the C++ API seem to eventually go into
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Mar 20 13:19:26 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_save_op.mlir

    // CHECK-NOT: @tf_quant__save
    }
    
    // -----
    
    // SaveV2 op not created when there are no VarHandleOp in the session
    // initializer function.
    
    module attributes {tf_saved_model.semantics} {
      "tf_saved_model.session_initializer"() {initializers = [@init_func_restore_op]} : () -> ()
      func.func @init_func_restore_op() -> () attributes {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_ops_invalid.mlir

      // expected-error@+1 {{the initializer function does not exist}}
      "tf_saved_model.session_initializer"() { initializers = [@init] } : () -> ()
    }
    
    // -----
    
    module attributes {tf_saved_model.semantics} {
    
      // expected-error@+1 {{the initializer function should have no output}}
      "tf_saved_model.session_initializer"() { initializers = [@init] } : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 19 13:38:14 UTC 2022
    - 14.1K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/saved_model/core/revived_types/partially_revived_objects.cc

          }
        }
    
        TFConcreteFunction* initialize = nullptr;
        if (resource_revival_state.initialize != nullptr) {
          initialize = revived->concrete_functions.Find(
              resource_revival_state.initialize->node_id);
          if (initialize == nullptr) {
            return absl::FailedPreconditionError(absl::StrCat(
                "'initialize' function with node id ",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 09 20:11:48 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/tests/insert_restore_op.mlir

    // CHECK-LOC-SAME: loc("var_1")
    }
    
    // -----
    
    // RestoreV2 op not created for `AssignVariableOp(VarHandleOp, Const)` patterns
    // in the initializer function of "init_op" type.
    
    module attributes {tf_saved_model.semantics} {
      "tf_saved_model.session_initializer"() {initializers = [@init_func_init_op]} : () -> ()
    
      func.func @init_func_init_op() -> () attributes {
          tf_saved_model.initializer_type = "init_op",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h

    // Returns the session initializer of this module if it exists. Returns null
    // otherwise.
    SessionInitializerOp GetSessionInitializerOp(ModuleOp module_op);
    
    // Returns the exported name for the session initializer function.
    SmallVector<StringRef, 2> GetSessionInitializerExportedName(ModuleOp module_op);
    
    // Returns initializer function ops. These functions' symbols are in the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jan 18 03:21:34 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. analysis/analysis-api/testData/components/compilerFacility/compilation/codeFragments/capturing/initializer.capturing.txt

    Yan Zhulanow <******@****.***> 1687193210 +0900
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon Aug 07 16:22:01 UTC 2023
    - 182 bytes
    - Viewed (0)
  10. 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)
Back to top