Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 3,782 for _func (0.13 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tpu_space_to_depth_pass.mlir

        func.return
      }
      // CHECK-LABEL: func @while_body_2710
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 37.4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/tokens.go

    	_Chan        // chan
    	_Const       // const
    	_Continue    // continue
    	_Default     // default
    	_Defer       // defer
    	_Else        // else
    	_Fallthrough // fallthrough
    	_For         // for
    	_Func        // func
    	_Go          // go
    	_Goto        // goto
    	_If          // if
    	_Import      // import
    	_Interface   // interface
    	_Map         // map
    	_Package     // package
    	_Range       // range
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/printer.go

    func groupFor(d Decl) (token, *Group) {
    	switch d := d.(type) {
    	case *ImportDecl:
    		return _Import, d.Group
    	case *ConstDecl:
    		return _Const, d.Group
    	case *TypeDecl:
    		return _Type, d.Group
    	case *VarDecl:
    		return _Var, d.Group
    	case *FuncDecl:
    		return _Func, nil
    	default:
    		panic("unreachable")
    	}
    }
    
    type printGroup struct {
    	node
    	Tok   token
    	Decls []Decl
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tpu_rewrite.mlir

        func.return
      }
      func.func @empty_func() {
        func.return
      }
    }
    
    // -----
    
    // Tests `tf_device.cluster_func` with bad `num_cores_per_replicas` attribute.
    
    module attributes {tf.versions = {producer = 888 : i32}, tf.devices = ["/job:worker/replica:0/task:0/device:CPU:0", "/job:worker/replica:0/task:0/device:TPU_SYSTEM:0", "/job:worker/replica:0/task:0/device:TPU:0"]} {
      func.func @bad_num_cores_per_replica() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 22:03:30 UTC 2024
    - 172.9K bytes
    - Viewed (0)
  5. src/debug/gosym/pclntab.go

    // A functab struct is a PC and a func offset.
    type funcTab struct {
    	*LineTable
    	sz int // cached result of t.functabFieldSize
    }
    
    // Count returns the number of func entries in f.
    func (f funcTab) Count() int {
    	return int(f.nfunctab)
    }
    
    // pc returns the PC of the i'th func in f.
    func (f funcTab) pc(i int) uint64 {
    	u := f.uint(f.functab[2*i*f.sz:])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 25 19:43:24 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tpu_sharding_identification.mlir

    // CHECK-LABEL: func @check_sharding_attrs_exists_for_empty_cluster_func
    func.func @check_sharding_attrs_exists_for_empty_cluster_func() {
      "tf_device.cluster_func"() {func = @empty_func, step_marker_location = "", num_cores_per_replica = 1 : i64} : () -> ()
      // CHECK: input_sharding_configuration = []
      // CHECK: output_sharding_configuration = []
      func.return
    }
    
    // CHECK-LABEL: func @empty_func() {
    func.func @empty_func() {
      func.return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Feb 20 19:07:52 UTC 2024
    - 47.5K bytes
    - Viewed (0)
  7. src/runtime/plugin.go

    		var val any
    		valp := (*[2]unsafe.Pointer)(unsafe.Pointer(&val))
    		(*valp)[0] = unsafe.Pointer(t)
    
    		name := symName.Name()
    		if t.Kind_&abi.KindMask == abi.Func {
    			name = "." + name
    		}
    		syms[name] = val
    	}
    	return md.pluginpath, syms, md.inittasks, ""
    }
    
    func pluginftabverify(md *moduledata) {
    	badtable := false
    	for i := 0; i < len(md.ftab); i++ {
    		entry := md.textAddr(md.ftab[i].entryoff)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/transforms/cluster_outlining.cc

              TF::kClusterOutlinedFunctionNameAttr)) {
        op->removeAttr(TF::kClusterOutlinedFunctionNameAttr);
        func_name = outlined_func_name.str();
      } else {
        func_name = "_func";
      }
    
      func::FuncOp outlined_func =
          func::FuncOp::create(op.getLoc(), func_name, func_type);
    
      // This function is not externally visible and marking it private would allow
      // symbol-dce pass to remove it when it is not referenced anymore.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 21:25:12 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. src/runtime/runtime2.go

    	//
    	// funcdata [nfuncdata]uint32
    }
    
    // Pseudo-Func that is returned for PCs that occur in inlined code.
    // A *Func can be either a *_func or a *funcinl, and they are distinguished
    // by the first uintptr.
    //
    // TODO(austin): Can we merge this with inlinedCall?
    type funcinl struct {
    	ones      uint32  // set to ^0 to distinguish from _func
    	entry     uintptr // entry of the real (the "outermost") frame
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/parser.go

    	}
    }
    
    // usage: defer p.trace(msg)()
    func (p *parser) trace(msg string) func() {
    	p.print(msg + " (")
    	const tab = ". "
    	p.indent = append(p.indent, tab...)
    	return func() {
    		p.indent = p.indent[:len(p.indent)-len(tab)]
    		if x := recover(); x != nil {
    			panic(x) // skip print_trace
    		}
    		p.print(")")
    	}
    }
    
    func (p *parser) print(msg string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
Back to top