Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 663 for func4 (0.04 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/region-control-flow-to-functional.mlir

    // CHECK: func private @tf.IfRegion_else(%arg0: tensor<2xi64>) -> tensor<*xf32>
    // CHECK-NEXT:    "tf.Cast"
    // CHECK: func private @tf.IfRegion_then(%arg0: tensor<2xi64>) -> tensor<*xf32>
    // CHECK-NEXT:    "tf.Cast"
    func.func private @testIf1Then(tensor<*xf32>) -> tensor<*xf32>
    func.func private @testIf1Else(tensor<*xf32>) -> tensor<*xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 02 11:15:34 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  2. src/go/printer/testdata/declarations.input

    // ellipsis parameters
    func _(...int)
    func _(...*int)
    func _(...[]int)
    func _(...struct{})
    func _(bool, ...interface{})
    func _(bool, ...func())
    func _(bool, ...func(...int))
    func _(bool, ...map[string]int)
    func _(bool, ...chan int)
    
    func _(b bool, x ...int)
    func _(b bool, x ...*int)
    func _(b bool, x ...[]int)
    func _(b bool, x ...struct{})
    func _(x ...interface{})
    func _(x ...func())
    func _(x ...func(...int))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 13 22:24:31 UTC 2021
    - 16.5K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir

      func.func @convert(%arg0: tensor<2xi32>) -> tensor<2xf32> {
        // CHECK: mhlo.convert %arg0 : (tensor<2xi32>) -> tensor<2xf32>
        %0 = "tf.Cast"(%arg0) {Truncate = false} : (tensor<2xi32>) -> tensor<2xf32>
        func.return %0 : tensor<2xf32>
      }
    
      // CHECK-LABEL: func @constant
      func.func @constant(%arg0: tensor<f32>) -> tensor<f32> {
        // CHECK: %[[ONE:.*]] = mhlo.constant dense<1.000000e+00> : tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 38.6K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. tensorflow/compiler/mlir/tensorflow/tests/resource-alias-analysis-test.mlir

      %c:2 = func.call @passthru(%vh1) : (!tf_res) -> (!tf_res, !tf_res)
      func.return
    }
    
    // expected-remark@below {{Region #0, Arg #0, ID 1 : 1}}
    func.func @passthru(%arg0: !tf_res) -> (!tf_res, !tf_res) {
      // expected-remark@below {{Result #0, ID 0 : 0}}
      %vx = "tf.VarHandleOp"() {container = "cf", shared_name = "vx"} : () -> !tf_res
      func.return %vx, %arg0 : !tf_res, !tf_res
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jul 21 17:19:47 UTC 2023
    - 22.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apimachinery/pkg/util/wait/wait_test.go

    }
    
    func TestNonSlidingUntil(t *testing.T) {
    	ch := make(chan struct{})
    	close(ch)
    	NonSlidingUntil(func() {
    		t.Fatal("should not have been invoked")
    	}, 0, ch)
    
    	ch = make(chan struct{})
    	called := make(chan struct{})
    	go func() {
    		NonSlidingUntil(func() {
    			called <- struct{}{}
    		}, 0, ch)
    		close(called)
    	}()
    	<-called
    	close(ch)
    	<-called
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-collective.mlir

      func.return %0 : tensor<f32>
    }
    
    // -----
    
    // CHECK: module attributes
    // CHECK-SAME{LITERAL}: tf2xla.collective_info.group_key = 0
    // CHECK-SAME{LITERAL}: tf2xla.collective_info.group_size = 2
    // CHECK-LABEL: func @all_reduce_cross_replica_and_partition
    func.func @all_reduce_cross_replica_and_partition(%input: tensor<f32>) -> tensor<f32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  10. src/go/printer/testdata/comments.golden

    func _() {
    	/*	freestanding comment
    		aligned line
    	*/
    }
    
    func _() {
    	/*	freestanding comment
    		aligned line */
    }
    
    func _() {
    	/*
    	   freestanding comment
    	   aligned line
    	*/
    }
    
    func _() {
    	/*
    	   freestanding comment
    	   aligned line
    	*/
    }
    
    func _() {
    	/*
    	   freestanding comment
    	   aligned line */
    }
    
    func _() {
    	/*
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 25 23:11:14 UTC 2022
    - 11.3K bytes
    - Viewed (0)
Back to top