Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,685 for intializer (0.22 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. pkg/controlplane/apiserver/admission/initializer.go

    	}
    }
    
    // Initialize checks the initialization interfaces implemented by each plugin
    // and provide the appropriate initialization data
    func (i *PluginInitializer) Initialize(plugin admission.Interface) {
    	if wants, ok := plugin.(initializer.WantsQuotaConfiguration); ok {
    		wants.SetQuotaConfiguration(i.quotaConfiguration)
    	}
    
    	if wants, ok := plugin.(initializer.WantsExcludedAdmissionResources); ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 21:28:42 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/initializer/initializer.go

    		authorizer:        authz,
    		featureGates:      featureGates,
    		stopCh:            stopCh,
    		restMapper:        restMapper,
    	}
    }
    
    // Initialize checks the initialization interfaces implemented by a plugin
    // and provide the appropriate initialization data
    func (i pluginInitializer) Initialize(plugin admission.Interface) {
    	// First tell the plugin about drained notification, so it can pass it to further initializations.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/quantization/tensorflow/tests/remove_var_init_by_const.mlir

    module attributes {tf_saved_model.semantics} {
    }
    
    // -----
    
    // Nothing happens when there are no initializer functions.
    
    // CHECK-LABEL: module
    module attributes {tf_saved_model.semantics} {
      "tf_saved_model.session_initializer"() {initializers = []} : () -> ()
    }
    
    // -----
    
    // Nothing happens when the initializer function of type = "restore_op" is
    // empty.
    
    // CHECK-LABEL: module
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  6. pkg/kubeapiserver/admission/initializer.go

    func NewPluginInitializer(cloudConfig []byte) *PluginInitializer {
    	return &PluginInitializer{
    		cloudConfig: cloudConfig,
    	}
    }
    
    // Initialize checks the initialization interfaces implemented by each plugin
    // and provide the appropriate initialization data
    func (i *PluginInitializer) Initialize(plugin admission.Interface) {
    	if wants, ok := plugin.(WantsCloudConfig); ok {
    		wants.SetCloudConfig(i.cloudConfig)
    	}
    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. test/initialize.go

    func main() {
    	ok := true
    	for i, s := range same {
    		if !reflect.DeepEqual(s.a, s.b) {
    			ok = false
    			fmt.Printf("#%d not same: %v and %v\n", i+1, s.a, s.b)
    		}
    	}
    	if !ok {
    		fmt.Println("BUG: test/initialize")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 04:04:52 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/initializer/initializer_test.go

    }
    
    func TestRESTMapperAdmissionPlugin(t *testing.T) {
    	initializer := initializer.New(nil, nil, nil, &TestAuthorizer{}, nil, nil, &doNothingRESTMapper{})
    	wantsRESTMapperAdmission := &WantsRESTMapperAdmissionPlugin{}
    	initializer.Initialize(wantsRESTMapperAdmission)
    
    	if wantsRESTMapperAdmission.mapper == nil {
    		t.Errorf("Expected REST mapper to be initialized but found nil")
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. pkg/kube/inject/initializer.go

    Rama Chavali <******@****.***> 1667160478 +0530
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Oct 30 20:07:58 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  10. 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)
Back to top