Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of about 10,000 for FUNC (0.09 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/xla_rewrite.mlir

      // CHECK-LABEL: func.func @convert_cluster_func
      func.func @convert_cluster_func(%arg0: tensor<i32>) -> tensor<i32> {
        // CHECK: "tf.XlaLaunch"(%arg0) <{function = @func, operandSegmentSizes = array<i32: 0, 1, 0>}> : (tensor<i32>) -> tensor<i32>
        %0 = "tf_device.cluster_func"(%arg0) {func = @func} : (tensor<i32>) -> tensor<i32>
        func.return %0 : tensor<i32>
      }
    
      func.func @func(%arg0: tensor<i32>) -> tensor<i32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-binary-elementwise.mlir

      func.return %0 : tensor<4xi32>
    }
    
    // CHECK-LABEL: func @div_unranked
    func.func @div_unranked(%arg0: tensor<*xi32>, %arg1: tensor<?x?xi32>) -> tensor<?x?xi32> {
      // CHECK-NEXT: tf.Div
      %0 = "tf.Div"(%arg0, %arg1) : (tensor<*xi32>, tensor<?x?xi32>) -> tensor<?x?xi32>
      func.return %0: tensor<?x?xi32>
    }
    
    // CHECK-LABEL: func @maximum
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. src/sync/oncefunc_test.go

    		}
    	}()
    	f()
    }
    
    func onceFuncPanic() {
    	panic("x")
    }
    
    func TestOnceXGC(t *testing.T) {
    	fns := map[string]func([]byte) func(){
    		"OnceFunc": func(buf []byte) func() {
    			return sync.OnceFunc(func() { buf[0] = 1 })
    		},
    		"OnceValue": func(buf []byte) func() {
    			f := sync.OnceValue(func() any { buf[0] = 1; return nil })
    			return func() { f() }
    		},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:31:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/tf_device_ops.mlir

      func.return
    }
    
    // -----
    
    // CHECK-LABEL: func @empty_replicate
    func.func @empty_replicate() {
      tf_device.replicate {n = 2 : i32} {
      }
      func.return
    
    // CHECK:      tf_device.replicate
    // CHECK-SAME: n = 2
    // CHECK-NEXT:   tf_device.return
    }
    
    // -----
    
    // CHECK-LABEL: func @no_operand_replicate
    func.func @no_operand_replicate() {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 23:53:20 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. src/internal/types/testdata/fixedbugs/issue59956.go

    package p
    
    func f1(func(int))
    func f2(func(int), func(string))
    func f3(func(int), func(string), func(float32))
    
    func g1[P any](P) {}
    
    func _() {
    	f1(g1)
    	f2(g1, g1)
    	f3(g1, g1, g1)
    }
    
    // More complex examples
    
    func g2[P any](P, P)                                         {}
    func h3[P any](func(P), func(P), func() P)                   {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 04 17:35:44 UTC 2023
    - 873 bytes
    - Viewed (0)
  6. src/crypto/internal/boring/notboring.go

    func SHA224([]byte) [28]byte { panic("boringcrypto: not available") }
    func SHA256([]byte) [32]byte { panic("boringcrypto: not available") }
    func SHA384([]byte) [48]byte { panic("boringcrypto: not available") }
    func SHA512([]byte) [64]byte { panic("boringcrypto: not available") }
    
    func NewHMAC(h func() hash.Hash, key []byte) hash.Hash { panic("boringcrypto: not available") }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 22:52:27 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. src/internal/runtime/atomic/atomic_mipsx.go

    func Or8(ptr *uint8, val uint8)
    
    //go:noescape
    func And(ptr *uint32, val uint32)
    
    //go:noescape
    func Or(ptr *uint32, val uint32)
    
    //go:noescape
    func And32(ptr *uint32, val uint32) uint32
    
    //go:noescape
    func Or32(ptr *uint32, val uint32) uint32
    
    //go:noescape
    func Anduintptr(ptr *uintptr, val uintptr) uintptr
    
    //go:noescape
    func Oruintptr(ptr *uintptr, val uintptr) uintptr
    
    //go:noescape
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 20:08:37 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/tests/functional-control-flow-to-regions.mlir

      func.return %0 : tensor<2xf32>
    }
    
    // -----
    
    // If with no outputs, some inputs
    // CHECK: func private @testIf1Then{{.+}}
    // CHECK: func private @testIf1Else{{.+}}
    func.func private @testIf1Then(tensor<*xf32>) -> ()
    func.func private @testIf1Else(tensor<*xf32>) -> ()
    
    // CHECK-LABEL: func @testIfNoResult(%arg0: tensor<i1>, %arg1: tensor<2xf32>)
    func.func @testIfNoResult(%arg0: tensor<i1>, %arg1: tensor<2xf32>) -> () {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Nov 06 21:59:28 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  9. src/runtime/signal_aix_ppc64.go

    func (c *sigctxt) r6() uint64  { return c.regs().gpr[6] }
    func (c *sigctxt) r7() uint64  { return c.regs().gpr[7] }
    func (c *sigctxt) r8() uint64  { return c.regs().gpr[8] }
    func (c *sigctxt) r9() uint64  { return c.regs().gpr[9] }
    func (c *sigctxt) r10() uint64 { return c.regs().gpr[10] }
    func (c *sigctxt) r11() uint64 { return c.regs().gpr[11] }
    func (c *sigctxt) r12() uint64 { return c.regs().gpr[12] }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 15 21:57:36 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  10. internal/color/color.go

    		return fmt.Sprint
    	}()
    
    	RedBoldf = func() func(format string, a ...interface{}) string {
    		if IsTerminal() {
    			return color.New(color.FgRed, color.Bold).SprintfFunc()
    		}
    		return fmt.Sprintf
    	}()
    
    	Red = func() func(format string, a ...interface{}) string {
    		if IsTerminal() {
    			return color.New(color.FgRed).SprintfFunc()
    		}
    		return fmt.Sprintf
    	}()
    
    	Blue = func() func(format string, a ...interface{}) string {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed May 01 17:57:52 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top