Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 2,052 for Initializer (0.22 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/ModelRegistrations.java

            return unmanagedInstanceOf(modelReference, new Transformer<T, MutableModelNode>() {
                @Override
                public T transform(MutableModelNode modelNode) {
                    T t = factory.create();
                    initializer.execute(modelNode);
                    return t;
                }
            });
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionInfoProvider.kt

                // Destructuring declarations use their initializer.
                is KtDestructuringDeclaration ->
                    parent.initializer == child
    
                // Backing field declarations use their initializer.
                is KtBackingField ->
                    parent.initializer == child
    
                // Property accessors can use their bodies if not blocks.
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 16:16:39 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/include_variables_in_init_v1.py

    # CHECK-SAME: bad_consumers
    # CHECK-SAME: min_consumer
    # CHECK-SAME: producer
    
    # CHECK: "tf_saved_model.global_tensor"()
    # CHECK: "tf_saved_model.session_initializer"() <{initializers = [@[[INIT_FUNC:[a-zA-Z_0-9]+]]]}> : () -> ()
    
    # Initializer function. This should contain the initialization sequence for the
    # variable.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. test/fixedbugs/issue5607.go

    		var _, x = mymap["a"]
    		println(x)
    	}
    	innerTest()
    }
    
    var Test2 = func() {
    	// The following initializer should not be part of init()
    	// The compiler used to generate a call to Panic() in init().
    	var _, x = Panic()
    	_ = x
    }
    
    func Panic() (int, int) {
    	panic("omg")
    	return 1, 2
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Jun 02 21:54:34 UTC 2013
    - 777 bytes
    - Viewed (0)
  5. platforms/extensibility/unit-test-fixtures/src/main/java/org/gradle/testfixtures/internal/TestInMemoryCacheFactory.java

            GFileUtils.mkdirs(cacheDir);
            InMemoryCache cache = new InMemoryCache(cacheDir, displayName, cacheCleanupStrategy != null ? cacheCleanupStrategy.getCleanupAction() : null);
            if (initializer != null) {
                initializer.accept(cache);
            }
            return cache;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/transforms/tf_savedmodel_passes.td

    }
    
    def ConvertSessionInitializerToFunctionPass : Pass<"tf-saved-model-convert-session-initializer-to-function", "ModuleOp"> {
      let summary = "Converts the session initializer to a function.";
      let description = [{
          This converts
            "tf_saved_model.session_initializer"() {initializers = [@a, @b, @c]} : () -> ()
          to
    	func.func @session_initializer() {
    	  call @a() : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jun 09 19:11:34 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model_ops.td

      let summary = "Initializes TensorFlow session state.";
      let description = [{
        The session initializer op marks one or more functions that must be called
        by an external agent exactly once to initialize TensorFlow session state,
        and this must happen before any other exported functions are called. There
        must be no more than one session initializer op in a saved model.
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/slices.go

    	r := make([]T2, len(s))
    	for i, v := range s {
    		r[i] = f(v)
    	}
    	return r
    }
    
    // Reduce reduces a []T1 to a single value using a reduction function.
    func Reduce[T1, T2 any](s []T1, initializer T2, f func(T2, T1) T2) T2 {
    	r := initializer
    	for _, v := range s {
    		r = f(r, v)
    	}
    	return r
    }
    
    // Filter filters values from a slice using a filter function.
    func Filter[T any](s []T, f func(T) bool) []T {
    	var r []T
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/CacheBuilder.java

        /**
         * Specifies an action to execute to initialize the cache contents, if the cache does not exist or is invalid. An exclusive lock is held while the initializer is executing, to prevent
         * cross-process access.
         */
        CacheBuilder withInitializer(Consumer<? super PersistentCache> initializer);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model_test.cc

      // No initializer function matches the initializer type.
      EXPECT_THAT(init_func_op, IsNull());
    }
    
    TEST_F(TfSavedModelTest, GetInitializerFunctionsEmptyWhenNoInitFunctions) {
      constexpr StringRef kModuleOpStr = R"mlir(
        module attributes {tf_saved_model.semantics} {
          "tf_saved_model.session_initializer"() {initializers = []} : () -> ()
        }
      )mlir";
    
      Block block;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 01 05:03:09 UTC 2023
    - 6.4K bytes
    - Viewed (0)
Back to top