Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 3,782 for vfunc (0.04 sec)

  1. tensorflow/compiler/mlir/tfrt/tests/ifrt/rewrite_cluster_to_ifrt_call.mlir

      return %0 : tensor<1x3xf32>
    }
    
    // CHECK-LABEL: @_func
    func.func private @_func(%arg0: tensor<1x3xf32>) -> (tensor<1x3xf32>) {
      return %arg0 : tensor<1x3xf32>
    }
    }
    
    
    // -----
    // SPMD: one input and no return
    //
    // CHECK-LABEL: func.func @serving_default(%arg0: tensor<1x3xf32>) {
    // CHECK-NEXT:  "tf.IfrtCall"(%arg0)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 17 07:28:40 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. src/cmd/go/go_test.go

    	tg.tempFile("src/t/t2/t2_test.go", "package t\nimport _ \"p1\"\nimport \"testing\"\nfunc Test2(*testing.T) {}\n")
    	tg.tempFile("src/t/t3/t3_test.go", "package t\nimport \"p1\"\nimport \"testing\"\nfunc Test3(t *testing.T) {t.Log(p1.X)}\n")
    	tg.tempFile("src/t/t4/t4_test.go", "package t\nimport \"p2\"\nimport \"testing\"\nfunc Test4(t *testing.T) {t.Log(p2.X)}")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/rangefunc/rewrite.go

    	rfunc := types2.CoreType(rclause.X.GetTypeInfo().Type).(*types2.Signature) // type of X - func(func(...)bool)
    	if rfunc.Params().Len() != 1 {
    		base.Fatalf("invalid typecheck of range func")
    	}
    	ftyp := types2.CoreType(rfunc.Params().At(0).Type()).(*types2.Signature) // func(...) bool
    	if ftyp.Results().Len() != 1 {
    		base.Fatalf("invalid typecheck of range func")
    	}
    
    	// Build X(bodyFunc)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/internal/passes/verify_input_dialect_to_executor_pass_test.mlir

    // -----
    
    // CHECK-LABEL: func @testNoClusterFuncOpPasses
    func.func @testNoClusterFuncOpPasses(%arg0: tensor<4x?x!tf_type.stringref>) -> tensor<4x2x!tf_type.string> {
      %0 = "tf.Identity"(%arg0) : (tensor<4x?x!tf_type.stringref>) -> tensor<4x2x!tf_type.string>
      func.return %0 : tensor<4x2x!tf_type.string>
    }
    
    // -----
    
    func.func @_func(%arg0: tensor<i32>) -> tensor<i32> {
      func.return %arg0 : tensor<i32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 30 22:07:53 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. src/cmd/internal/obj/arm64/obj7.go

    		p2.To.Sym = nil
    	} else {
    		return
    	}
    	obj.Nopout(p)
    }
    
    func preprocess(ctxt *obj.Link, cursym *obj.LSym, newprog obj.ProgAlloc) {
    	if cursym.Func().Text == nil || cursym.Func().Text.Link == nil {
    		return
    	}
    
    	c := ctxt7{ctxt: ctxt, newprog: newprog, cursym: cursym}
    
    	p := c.cursym.Func().Text
    	textstksiz := p.To.Offset
    	if textstksiz == -8 {
    		// Historical way to mark NOFRAME.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 05:46:32 UTC 2023
    - 28.4K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types/fmt.go

    		}
    		if len(t.AllMethods()) != 0 {
    			b.WriteByte(' ')
    		}
    		b.WriteByte('}')
    
    	case TFUNC:
    		if verb == 'S' {
    			// no leading func
    		} else {
    			if t.Recv() != nil {
    				b.WriteString("method")
    				formatParams(b, t.Recvs(), mode, visited)
    				b.WriteByte(' ')
    			}
    			b.WriteString("func")
    		}
    		formatParams(b, t.Params(), mode, visited)
    
    		switch t.NumResults() {
    		case 0:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 12 15:41:17 UTC 2023
    - 15.7K bytes
    - Viewed (0)
  7. src/cmd/internal/obj/link.go

    func (a *Attribute) DuplicateOK() bool        { return a.load()&AttrDuplicateOK != 0 }
    func (a *Attribute) MakeTypelink() bool       { return a.load()&AttrMakeTypelink != 0 }
    func (a *Attribute) CFunc() bool              { return a.load()&AttrCFunc != 0 }
    func (a *Attribute) NoSplit() bool            { return a.load()&AttrNoSplit != 0 }
    func (a *Attribute) Leaf() bool               { return a.load()&AttrLeaf != 0 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/utils/convert_attr.cc

      switch (value.value_case()) {
        case AttrValue::kFunc: {
          // TODO(b/156546237): Unify kFunc/NameAttrList attribute representation.
          // Currently kFunc/NameAttrList attributes in a kList/repeated AttrValue
          // will not use this representation.
          mlir::NamedAttrList attrs;
          for (const auto& func_attr : value.func().attr()) {
            TF_ASSIGN_OR_RETURN(auto attr,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. src/internal/types/testdata/spec/assignability.go

    	_Pointer   = *int
    	_Func      = func(x int) string
    	_Interface = interface{ m() int }
    	_Map       = map[string]int
    	_Chan      = chan int
    
    	Basic     _Basic
    	Array     _Array
    	Slice     _Slice
    	Struct    _Struct
    	Pointer   _Pointer
    	Func      _Func
    	Interface _Interface
    	Map       _Map
    	Chan      _Chan
    	Defined   _Struct
    )
    
    func (Defined) m() int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 17:24:42 UTC 2023
    - 5.1K bytes
    - Viewed (0)
  10. test/fixedbugs/issue33866.dir/b.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package b
    
    import "./a"
    
    type (
    	ABuilder = a.Builder
    )
    
    func Bfunc() ABuilder {
    	return ABuilder{}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 06 12:11:17 UTC 2019
    - 262 bytes
    - Viewed (0)
Back to top