Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for init_func1 (0.23 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model_test.cc

          "tf_saved_model.session_initializer"() {initializers = [@init_func1, @init_func2]} : () -> ()
    
          func.func @init_func1() attributes {tf_saved_model.exported_names = ["init_func1"], tf_saved_model.initializer_type = "init_op"} {
            func.return
          }
    
          func.func @init_func2() attributes {tf_saved_model.exported_names = ["init_func2"], tf_saved_model.initializer_type = "restore_op"} {
            func.return
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 01 05:03:09 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. cmd/kube-controller-manager/app/apps.go

    )
    
    func newDaemonSetControllerDescriptor() *ControllerDescriptor {
    	return &ControllerDescriptor{
    		name:     names.DaemonSetController,
    		aliases:  []string{"daemonset"},
    		initFunc: startDaemonSetController,
    	}
    }
    func startDaemonSetController(ctx context.Context, controllerContext ControllerContext, controllerName string) (controller.Interface, bool, error) {
    	dsc, err := daemon.NewDaemonSetsController(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. src/cmd/link/internal/loong64/asm.go

    	"cmd/link/internal/loader"
    	"cmd/link/internal/sym"
    	"debug/elf"
    	"log"
    )
    
    func gentext(ctxt *ld.Link, ldr *loader.Loader) {
    	initfunc, addmoduledata := ld.PrepareAddmoduledata(ctxt)
    	if initfunc == nil {
    		return
    	}
    
    	o := func(op uint32) {
    		initfunc.AddUint32(ctxt.Arch, op)
    	}
    
    	// Emit the following function:
    	//
    	//	local.dso_init:
    	//		la.pcrel $a0, local.moduledata
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 17:26:07 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model/include_variables_in_init_v1.py

    # 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.
    # CHECK: func @[[INIT_FUNC]](%[[ARG_0:.*]]: tensor<!tf_type.resource<tensor<1x3xf32>>> {tf_saved_model.bound_input = @y}) attributes {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  5. cmd/kube-controller-manager/app/bootstrap.go

    )
    
    func newBootstrapSignerControllerDescriptor() *ControllerDescriptor {
    	return &ControllerDescriptor{
    		name:                names.BootstrapSignerController,
    		aliases:             []string{"bootstrapsigner"},
    		initFunc:            startBootstrapSignerController,
    		isDisabledByDefault: true,
    	}
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 11:28:02 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. cmd/kube-controller-manager/app/discovery.go

    )
    
    func newEndpointSliceControllerDescriptor() *ControllerDescriptor {
    	return &ControllerDescriptor{
    		name:     names.EndpointSliceController,
    		aliases:  []string{"endpointslice"},
    		initFunc: startEndpointSliceController,
    	}
    }
    
    func startEndpointSliceController(ctx context.Context, controllerContext ControllerContext, controllerName string) (controller.Interface, bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 11:28:02 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. cmd/kube-controller-manager/app/batch.go

    	"k8s.io/kubernetes/pkg/controller/job"
    )
    
    func newJobControllerDescriptor() *ControllerDescriptor {
    	return &ControllerDescriptor{
    		name:     names.JobController,
    		aliases:  []string{"job"},
    		initFunc: startJobController,
    	}
    }
    
    func startJobController(ctx context.Context, controllerContext ControllerContext, controllerName string) (controller.Interface, bool, error) {
    	jobController, err := job.NewController(
    		ctx,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 11:28:02 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/ld.go

    	initfunc := ctxt.loader.MakeSymbolUpdater(ifs)
    	ctxt.loader.SetAttrReachable(ifs, true)
    	ctxt.loader.SetAttrLocal(ifs, true)
    	initfunc.SetType(sym.STEXT)
    
    	// Add the init func and/or addmoduledata to Textp.
    	if ctxt.BuildMode == BuildModePlugin {
    		ctxt.Textp = append(ctxt.Textp, amd)
    	}
    	ctxt.Textp = append(ctxt.Textp, initfunc.Sym())
    
    	// Create an init array entry
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:48:30 UTC 2023
    - 8K bytes
    - Viewed (0)
  9. cmd/kube-controller-manager/app/rbac.go

    )
    
    func newClusterRoleAggregrationControllerDescriptor() *ControllerDescriptor {
    	return &ControllerDescriptor{
    		name:     names.ClusterRoleAggregationController,
    		aliases:  []string{"clusterrole-aggregation"},
    		initFunc: startClusterRoleAggregationController,
    	}
    }
    
    func startClusterRoleAggregationController(ctx context.Context, controllerContext ControllerContext, controllerName string) (controller.Interface, bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 27 11:28:02 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_hashtable_ops_as_args.cc

              llvm::StringRef(tensorflow::kImportModelDefaultGraphFuncName) ||
          func.getSymName() == kTfQuantSaveFuncName) {
        return true;
      }
    
      for (func::FuncOp init_func :
           tf_saved_model::GetInitializerFunctions(module)) {
        if (func.getSymName() == init_func.getSymName()) {
          return true;
        }
      }
      return false;
    }
    
    // Checks if the function is only used by supported ops. Returns false when the
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri May 17 17:58:54 UTC 2024
    - 8.2K bytes
    - Viewed (0)
Back to top