Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for init_func1 (0.21 sec)

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

      const auto func_type = builder.getFunctionType(/*inputs=*/{}, /*results=*/{});
    
      auto init_func = builder.create<func::FuncOp>(
          loc, /*sym_name=*/"init_func_restore_op", func_type);
      builder.createBlock(&init_func.getBody(), /*insertPt=*/init_func.begin(),
                          /*arg_types=*/{}, /*arg_locs=*/{});
    
      init_func->setAttr(kTfSavedModelExportedNamesAttr,
                         builder.getStrArrayAttr(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 16 15:04:53 UTC 2023
    - 14K bytes
    - Viewed (0)
  2. src/cmd/link/internal/s390x/asm.go

    func gentext(ctxt *ld.Link, ldr *loader.Loader) {
    	initfunc, addmoduledata := ld.PrepareAddmoduledata(ctxt)
    	if initfunc == nil {
    		return
    	}
    
    	// larl %r2, <local.moduledata>
    	initfunc.AddUint8(0xc0)
    	initfunc.AddUint8(0x20)
    	initfunc.AddSymRef(ctxt.Arch, ctxt.Moduledata, 6, objabi.R_PCREL, 4)
    	r1 := initfunc.Relocs()
    	ldr.SetRelocVariant(initfunc.Sym(), r1.Count()-1, sym.RV_390_DBL)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 13.7K bytes
    - Viewed (0)
  3. cmd/kube-controller-manager/app/core.go

    )
    
    func newServiceLBControllerDescriptor() *ControllerDescriptor {
    	return &ControllerDescriptor{
    		name:                      cpnames.ServiceLBController,
    		aliases:                   []string{"service"},
    		initFunc:                  startServiceLBController,
    		isCloudProviderController: true,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 39K bytes
    - Viewed (0)
  4. src/cmd/link/internal/x86/asm.go

    	o(0x53)
    
    	o(0xe8)
    	initfunc.AddSymRef(ctxt.Arch, ldr.Lookup("__x86.get_pc_thunk.cx", 0), 0, objabi.R_CALL, 4)
    
    	o(0x8d, 0x81)
    	initfunc.AddPCRelPlus(ctxt.Arch, ctxt.Moduledata, 6)
    
    	o(0x8d, 0x99)
    	gotsym := ldr.LookupOrCreateSym("_GLOBAL_OFFSET_TABLE_", 0)
    	initfunc.AddSymRef(ctxt.Arch, gotsym, 12, objabi.R_PCREL, 4)
    	o(0xe8)
    	initfunc.AddSymRef(ctxt.Arch, addmoduledata, 0, objabi.R_CALL, 4)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 13.6K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.cc

        auto init_func = symbol_table.lookup<func::FuncOp>(init_sym);
        if (!init_func) continue;
    
        auto init_type =
            init_func->getAttrOfType<StringAttr>(kTfSavedModelInitializerTypeAttr);
        if (!init_type) continue;
    
        if (init_types.contains(init_type)) {
          return init_func->emitError()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  6. cmd/kube-controller-manager/app/certificates.go

    )
    
    func newCertificateSigningRequestSigningControllerDescriptor() *ControllerDescriptor {
    	return &ControllerDescriptor{
    		name:     names.CertificateSigningRequestSigningController,
    		aliases:  []string{"csrsigning"},
    		initFunc: startCertificateSigningRequestSigningController,
    	}
    }
    
    func startCertificateSigningRequestSigningController(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
    - 11.6K bytes
    - Viewed (0)
  7. cmd/kube-controller-manager/app/controllermanager.go

    // The bool indicates whether the controller was enabled.
    type InitFunc func(ctx context.Context, controllerContext ControllerContext, controllerName string) (controller controller.Interface, enabled bool, err error)
    
    type ControllerDescriptor struct {
    	name                      string
    	initFunc                  InitFunc
    	requiredFeatureGates      []featuregate.Feature
    	aliases                   []string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:53 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/functional-control-flow-to-regions.mlir

      // CHECK-NOT: tf.GeneratorDataset
      %0 = "tf.GeneratorDataset"(%arg0, %arg1, %arg2, %arg3) {
          device = "/job:tpu_host_worker/replica:0/task:0/device:CPU:0",
          finalize_func = @finalize,
          init_func = @init,
          next_func = @next,
          operandSegmentSizes = array<i32: 1, 2, 1>,
          output_shapes = [#tf_type.shape<>],
          output_types = [!tf_type.string],
          metadata = ""} : (
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 06 21:59:28 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  9. src/cmd/link/internal/amd64/asm.go

    	"log"
    )
    
    func PADDR(x uint32) uint32 {
    	return x &^ 0x80000000
    }
    
    func gentext(ctxt *ld.Link, ldr *loader.Loader) {
    	initfunc, addmoduledata := ld.PrepareAddmoduledata(ctxt)
    	if initfunc == nil {
    		return
    	}
    
    	o := func(op ...uint8) {
    		for _, op1 := range op {
    			initfunc.AddUint8(op1)
    		}
    	}
    
    	// 0000000000000000 <local.dso_init>:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 21K bytes
    - Viewed (0)
  10. src/cmd/link/internal/arm/asm.go

    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)
    	}
    	o(0xe59f0004)
    	o(0xe08f0000)
    
    	o(0xeafffffe)
    	rel, _ := initfunc.AddRel(objabi.R_CALLARM)
    	rel.SetOff(8)
    	rel.SetSiz(4)
    	rel.SetSym(addmoduledata)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 22.9K bytes
    - Viewed (0)
Back to top