Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 3,034 for FUNC (0.05 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/tpu_resource_partitioning.mlir

      %2 = "tf_device.cluster_func"(%1) {func = @computation} : (tensor<i32>) -> tensor<i32>
      func.return %1 : tensor<i32>
    }
    
    // CHECK-LABEL: func @non_resource_read_input_write_output
    func.func @non_resource_read_input_write_output(%arg0: tensor<i32>) -> tensor<i32> {
      // CHECK-NOT:  tf.TPUPartitionedInputV2
      %0 = "tf_device.cluster_func"(%arg0) {func = @computation} : (tensor<i32>) -> tensor<i32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/typeparams.go

    func _[T [10]byte]() { f := func() (x *T) { return }; f /* ERROR "cannot index" */ ()[0] = 0 }
    func _[T [10]byte]() { f := func() (x *T) { return }; (*f())[0] = 0 }
    func _[T *[10]byte]() { f := func() (x T) { return }; f()[0] = 0 }
    
    // slicing
    
    func _[T interface{ ~[10]E }, E any] (x T, i, j, k int) { var _ []E = x[i:j] }
    func _[T interface{ ~[10]E }, E any] (x T, i, j, k int) { var _ []E = x[i:j:k] }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 01:56:58 UTC 2023
    - 15.2K bytes
    - Viewed (0)
  3. test/newinline.go

    }
    
    // any re-assignment prevents closure inlining
    func m() int {
    	foo := func() int { return 1 } // ERROR "can inline m.func1" "func literal does not escape"
    	x := foo()
    	foo = func() int { return 2 } // ERROR "can inline m.func2" "func literal does not escape"
    	return x + foo()
    }
    
    // address taking prevents closure inlining
    func n() int { // ERROR "can inline n"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf_executor_ops_invalid.mlir

    func.func @invalid_island(%arg0: tensor<*xf32>, %ctl: !tf_executor.control) {
      tf_executor.graph {
        "tf_executor.island"() ({
    // expected-error@+1 {{'func.return' op invalid tf_executor.island terminator, yield expected}}
          func.return
        }) : () -> (!tf_executor.control)
      }
      func.return
    }
    
    // -----
    
    // Check that a tf_executor.yield parent is a tf_executor.island.
    func.func @parent_is_island() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 19 01:12:10 UTC 2023
    - 28.2K bytes
    - Viewed (0)
  5. src/go/ast/ast.go

    func (*TypeAssertExpr) exprNode() {}
    func (*CallExpr) exprNode()       {}
    func (*StarExpr) exprNode()       {}
    func (*UnaryExpr) exprNode()      {}
    func (*BinaryExpr) exprNode()     {}
    func (*KeyValueExpr) exprNode()   {}
    
    func (*ArrayType) exprNode()     {}
    func (*StructType) exprNode()    {}
    func (*FuncType) exprNode()      {}
    func (*InterfaceType) exprNode() {}
    func (*MapType) exprNode()       {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  6. src/syscall/zsyscall_openbsd_amd64.go

    func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_bind_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_bind_trampoline()
    
    //go:cgo_import_dynamic libc_bind bind "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  7. src/syscall/zsyscall_openbsd_arm64.go

    func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_bind_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_bind_trampoline()
    
    //go:cgo_import_dynamic libc_bind bind "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  8. src/syscall/zsyscall_openbsd_ppc64.go

    func bind(s int, addr unsafe.Pointer, addrlen _Socklen) (err error) {
    	_, _, e1 := syscall(abi.FuncPCABI0(libc_bind_trampoline), uintptr(s), uintptr(addr), uintptr(addrlen))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func libc_bind_trampoline()
    
    //go:cgo_import_dynamic libc_bind bind "libc.so"
    
    // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 04 07:51:20 UTC 2024
    - 47.4K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/test/shift_test.go

    		{64, true, 8, false, func(n int64, s uint8) int64 { return n >> s }},
    		{64, false, 8, false, func(n uint64, s uint8) uint64 { return n >> s }},
    
    		{32, true, 64, true, func(n int32, s uint64) int32 { return n << s }},
    		{32, true, 64, false, func(n int32, s uint64) int32 { return n >> s }},
    		{32, false, 64, false, func(n uint32, s uint64) uint32 { return n >> s }},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 23 22:26:39 UTC 2023
    - 25.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/tests/mark_ops_for_outside_compilation.mlir

        }) : () -> ()
        func.return
    }
    
    // CHECK-LABEL: func @set_bound
    func.func @set_bound(%arg0: tensor<i32>) -> tensor<i32> {
      %bound = "tf.Const"() {value = dense<16> : tensor<i32>} : () -> tensor<i32>
      // CHECK: tf.XlaSetBound
      // CHECK-NOT: _xla_outside_compilation
      %bounded = "tf.XlaSetBound"(%arg0, %bound) : (tensor<i32>, tensor<i32>) -> tensor<i32>
      func.return %bounded : tensor<i32>
    }
    
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 16:22:32 UTC 2024
    - 29.5K bytes
    - Viewed (0)
Back to top