Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 856 for intializer (0.41 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/unfreeze_constants.cc

        session_init_op = builder.create<SessionInitializerOp>(
            module_op.getLoc(), /*initializers=*/builder.getArrayAttr({}));
      }
    
      return session_init_op;
    }
    
    // Create the initializer function right after the SessionInitializer op.
    // Returns the newly created initializer function. The initializer function's
    // initializer_type is set to "restore_op" since it essentially serves as a
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 16 15:04:53 UTC 2023
    - 14K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/quantization/tensorflow/cc/save_variables_test.cc

    }
    
    TEST_F(SaveVariablesToCheckpointTest, MultipleVariablesSavedToCheckpoint) {
      // Module's session intializer contains two variables.
      constexpr absl::string_view kModuleCode = R"mlir(
        module attributes {tf_saved_model.semantics} {
          "tf_saved_model.session_initializer"() {initializers = [@init_func_restore_op]} : () -> ()
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  3. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/services/NativeServices.java

            }
        }
    
        /**
         * Initializes the native services to use the given user home directory to store native libs and other resources. Does nothing if already initialized.
         *
         * Initializes all the services needed for the Gradle daemon.
         */
        public static void initializeOnDaemon(File userHomeDir, NativeServicesMode mode) {
            INSTANCE.initialize(userHomeDir, EnumSet.allOf(NativeFeatures.class), mode);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:39 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/initorder.go

    		}
    		emitted[info] = true
    
    		infoLhs := info.lhs // possibly nil (see declInfo.lhs field comment)
    		if infoLhs == nil {
    			infoLhs = []*Var{v}
    		}
    		init := &Initializer{infoLhs, info.init}
    		check.Info.InitOrder = append(check.Info.InitOrder, init)
    	}
    
    	if debug {
    		fmt.Println()
    		fmt.Println("Initialization order:")
    		for _, init := range check.Info.InitOrder {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 22:06:51 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. src/go/types/initorder.go

    		}
    		emitted[info] = true
    
    		infoLhs := info.lhs // possibly nil (see declInfo.lhs field comment)
    		if infoLhs == nil {
    			infoLhs = []*Var{v}
    		}
    		init := &Initializer{infoLhs, info.init}
    		check.Info.InitOrder = append(check.Info.InitOrder, init)
    	}
    
    	if debug {
    		fmt.Println()
    		fmt.Println("Initialization order:")
    		for _, init := range check.Info.InitOrder {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/quantization/tensorflow/tests/merge_initializer_function_ops_to_main.mlir

      "tf_saved_model.asset"() {filename = "assets/table.txt", sym_name = "v"} : () -> ()
      "tf_saved_model.session_initializer"() {initializers = [@NoOp_0, @NoOp_1]} : () -> ()
    // Check that the initializer typed "init_op" is removed from initializers list.
    // CHECK: "tf_saved_model.session_initializer"()
    // CHECK-SAME: initializers = []
    
    func.func @NoOp_0(%arg0: tensor<!tf_type.string> {tf_saved_model.bound_input = @v})
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/tensorflow/tests/unfreeze_constants.mlir

    // Tests a case with one ConstOp and a tf_saved_model.session_initializer with an empty initializers.
    module attributes {tf_saved_model.semantics} {
    
      "tf_saved_model.session_initializer"() {initializers = []} : () -> ()
    // Check that the init function is created & added to the initializers attribute.
    // CHECK: "tf_saved_model.session_initializer"()
    // CHECK-SAME: initializers = [@init_func_restore_op]
    
    // CHECK: func.func @init_func_restore_op()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  8. 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)
  9. src/runtime/os_darwin.go

    	"internal/abi"
    	"unsafe"
    )
    
    type mOS struct {
    	initialized bool
    	mutex       pthreadmutex
    	cond        pthreadcond
    	count       int
    }
    
    func unimplemented(name string) {
    	println(name, "not implemented")
    	*(*int)(unsafe.Pointer(uintptr(1231))) = 1231
    }
    
    //go:nosplit
    func semacreate(mp *m) {
    	if mp.initialized {
    		return
    	}
    	mp.initialized = true
    	if err := pthread_mutex_init(&mp.mutex, nil); err != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  10. 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)
Back to top