Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 3,782 for vfunc (0.11 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. 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)
  6. 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)
  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. 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)
  10. 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)
Back to top