Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,966 for vfunc (0.04 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tpu_bridge_v1/end_to_end.mlir

      func.func @main() {
    // CHECK: arith.constant
    // CHECK: TPUCompile
    // CHECK: TPUExecute
    // CHECK-NOT: func @_func
        tf_executor.graph {
          %outputs, %control = tf_executor.island wraps "arith.constant"() {value = dense<2.000000e+00> : tensor<f32>} : () -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 21:23:47 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. src/go/doc/example_test.go

    func (Type1) Func1_foo() {}
    func (Type1) func2() {}
    
    func (type2) Func1() {}
    
    type (
    	Conflict          int
    	Conflict_Conflict int
    	Conflict_conflict int
    )
    
    func (Conflict) Conflict() {}
    
    func GFunc[T any]() {}
    
    type GType[T any] int
    
    func (GType[T]) M() {}
    `
    	const test = `
    package p_test
    
    func ExampleConst1() {} // invalid - no support for consts and vars
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 16:17:51 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/typecheck/dcl.go

    // call to DeclFunc.
    func FinishFuncBody() {
    	funcStack, ir.CurFunc = funcStack[:len(funcStack)-1], funcStack[len(funcStack)-1]
    }
    
    func CheckFuncStack() {
    	if len(funcStack) != 0 {
    		base.Fatalf("funcStack is non-empty: %v", len(funcStack))
    	}
    }
    
    // make a new Node off the books.
    func TempAt(pos src.XPos, curfn *ir.Func, typ *types.Type) *ir.Name {
    	if curfn == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 13:15:50 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tpu-multiple-while-body-func.mlir

      "func.func"() ({
      ^bb0(%arg0: tensor<i32>):
        "func.return"(%arg0) : (tensor<i32>) -> ()
      }) {sym_name = "main_while_body_4225150", sym_visibility = "private", tf._input_shapes = [#tf_type.shape<>], tf.signature.is_stateful, function_type = (tensor<i32>) -> (tensor<i32>)} : () -> ()
      "func.func"() ({
      ^bb0(%arg0: tensor<i32>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 13 21:23:47 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. src/go/internal/gccgoimporter/parser_test.go

    	{id: "foo", typ: "<type 1 \"Bar\" <type 2 *<type 1>>>", want: "foo.Bar", underlying: "*foo.Bar"},
    	{id: "foo", typ: "<type 1 \"bar.Foo\" \"bar\" <type -1>\nfunc (? <type 1>) M ();\n>", want: "bar.Foo", underlying: "int8", methods: "func (bar.Foo).M()"},
    	{id: "foo", typ: "<type 1 \".bar.foo\" \"bar\" <type -1>>", want: "bar.foo", underlying: "int8"},
    	{id: "foo", typ: "<type 1 []<type -1>>", want: "[]int8"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 26 20:35:55 UTC 2018
    - 2.8K bytes
    - Viewed (0)
  6. tensorflow/c/experimental/ops/gen/cpp/views/attr_view.cc

            return "{}";
          }
          LOG(WARNING) << "Unimplemented: default value of list-typed attribute.";
          return "/* UNIMPLEMENTED */";
        case AttrValue::kShape:
        case AttrValue::kTensor:
        case AttrValue::kFunc:
        case AttrValue::kPlaceholder:
          LOG(ERROR) << "Unexpected non-primitive attribute value.";
          return "/* ERROR */";
      }
    }
    
    string AttrView::VariableStrLen() const {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 03 07:02:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. src/math/bits/make_examples.go

    		},
    	} {
    		for i, size := range []int{8, 16, 32, 64} {
    			if e.out[i] == nil {
    				continue // function doesn't exist
    			}
    			f := fmt.Sprintf("%s%d", e.name, size)
    			fmt.Fprintf(w, "\nfunc Example%s() {\n", f)
    			switch e.name {
    			case "RotateLeft", "Reverse", "ReverseBytes":
    				fmt.Fprintf(w, "\tfmt.Printf(\"%%0%db\\n\", %d)\n", size, e.in)
    				if e.name == "RotateLeft" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 3K bytes
    - Viewed (0)
  8. src/cmd/link/linkbig_test.go

    	fmt.Fprintf(&w, "\nimport (\n")
    	fmt.Fprintf(&w, "\t\"os\"\n")
    	fmt.Fprintf(&w, "\t\"fmt\"\n")
    	fmt.Fprintf(&w, ")\n\n")
    
    	for i := 0; i < FN; i++ {
    		fmt.Fprintf(&w, "func bigfn%d()\n", i)
    	}
    	fmt.Fprintf(&w, "\nfunc main() {\n")
    
    	// There are lots of dummy code generated in the .s files just to generate a lot
    	// of text. Link them in but guard their call so their code is not executed but
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:22:14 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/gofmt/internal.go

    	"go/printer"
    	"go/token"
    	"strings"
    )
    
    // parse parses src, which was read from the named file,
    // as a Go source file, declaration, or statement list.
    func parse(fset *token.FileSet, filename string, src []byte, fragmentOk bool) (
    	file *ast.File,
    	sourceAdj func(src []byte, indent int) []byte,
    	indentAdj int,
    	err error,
    ) {
    	// Try as whole source file.
    	file, err = parser.ParseFile(fset, filename, src, parserMode)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 28 14:23:08 UTC 2020
    - 5K bytes
    - Viewed (0)
Back to top