Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 3,335 for FUNC (0.04 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/constant-fold.mlir

      func.return %1 : tensor<5xi64>
    }
    
    // CHECK-LABEL: func @testEmptyFloat
    func.func @testEmptyFloat() -> (tensor<5xf64>) {
      %0 = "tf.Const"() { value = dense<5> : tensor<i32> } : () -> tensor<i32>
    
      // CHECK: [[VAL:%.+]] = "tf.Const"() <{value =  dense<0.000000e+00> : tensor<5xf64>}>
      // CHECK: return [[VAL]]
      %1 = "tf.Empty"(%0) : (tensor<i32>) -> (tensor<5xf64>)
      func.return %1 : tensor<5xf64>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jan 31 23:22:24 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/freeze_variables.mlir

      func.func private @f_callee_callee(%arg0: tensor<*x!tf_type.resource>) -> tensor<0xf32> {
        %0 = "tf.PartitionedCall"(%arg0) {config = "", config_proto = "", executor_type = "", f = @f_callee_callee} : (tensor<*x!tf_type.resource>) -> (tensor<0xf32>)
        func.return %0 : tensor<0xf32>
      }
    }
    
    // -----
    
    // Test If Region immutable case.
    
    module {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 23.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tfrt/tests/sink_in_invariant_ops.mlir

      %2 = "tf.Identity"(%1) {device = "/device:CPU:0"} : (tensor<1x3xf32>) -> tensor<1x3xf32>
      func.return %2 : tensor<1x3xf32>
    }
    
    // CHECK-LABEL: func @main
    func.func @main(%arg0: tensor<1x3xf32> {tf_saved_model.index_path = ["input"]}) -> (tensor<*xf32> {tf_saved_model.index_path = ["r"]})
      attributes {tf_saved_model.exported_names = ["main"]} {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 21K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-communication.mlir

    // CHECK: func @callee4()
    func.func @callee4() {
      // CHECK:      [[CALLEE4_INIT_TOKEN:%.*]] = mhlo.create_token
    
      // CHECK:      [[CALL_5:%.*]] = call @callee5([[CALLEE4_INIT_TOKEN]])
      func.call @callee5() : () -> ()
    
      // CHECK:      return
      func.return
    }
    
    // CHECK: func private @callee5([[CALLEE5_ARG0:%.*]]: !mhlo.token) -> !mhlo.token
    func.func private @callee5() {
      // CHECK-NOT:  mhlo.create_token
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 08 18:24:20 UTC 2024
    - 38.3K bytes
    - Viewed (0)
  5. pkg/securitycontext/accessors.go

    }
    
    type podSecurityContextWrapper struct {
    	podSC *api.PodSecurityContext
    }
    
    func (w *podSecurityContextWrapper) PodSecurityContext() *api.PodSecurityContext {
    	return w.podSC
    }
    
    func (w *podSecurityContextWrapper) ensurePodSC() {
    	if w.podSC == nil {
    		w.podSC = &api.PodSecurityContext{}
    	}
    }
    
    func (w *podSecurityContextWrapper) HostNetwork() bool {
    	if w.podSC == nil {
    		return false
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 22 16:15:27 UTC 2023
    - 14.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_optimize_global_tensors_interprocedural.mlir

      // CHECK: func private @f(%arg0: tensor<*x!tf_type.resource>) -> tensor<f32>
      func.func private @f(%arg0: tensor<*x!tf_type.resource>) -> tensor<f32> {
        %val = "tf.PartitionedCall"(%arg0) {config = "", config_proto = "", executor_type = "", f = @g} : (tensor<*x!tf_type.resource>) -> (tensor<f32>)
        func.return %val : tensor<f32>
      }
    
      // CHECK: func private @g(%arg0: tensor<*x!tf_type.resource>) -> tensor<f32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:49:35 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/apiclient/idempotency_test.go

    			}
    		})
    	}
    }
    
    func TestCreateOrMutateConfigMap(t *testing.T) {
    	tests := []struct {
    		name          string
    		setupClient   func(*clientsetfake.Clientset)
    		mutator       func(*v1.ConfigMap) error
    		expectedError bool
    	}{
    		{
    			name: "create configmap",
    			setupClient: func(client *clientsetfake.Clientset) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 11:14:32 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  8. 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)
  9. pkg/log/scope_test.go

    	}{
    		{
    			func() { klog.Error("foo") },
    			"error\tklog\tfoo$",
    		},
    		{
    			func() { klog.Error("foo") },
    			"foo$",
    		},
    		{
    			func() { klog.Errorf("fmt %v", "item") },
    			"fmt item$",
    		},
    		{
    			func() { klog.Errorf("fmt %v", "item") },
    			"fmt item$",
    		},
    		{
    			func() { klog.ErrorS(errors.New("my error"), "info") },
    			"error\tklog\tmy error: info",
    		},
    		{
    			func() { klog.Info("a", "b") },
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 03 17:36:09 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. 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)
Back to top