Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 3,335 for FUNC (0.05 sec)

  1. src/strings/example_test.go

    }
    
    func ExampleToUpper() {
    	fmt.Println(strings.ToUpper("Gopher"))
    	// Output: GOPHER
    }
    
    func ExampleToUpperSpecial() {
    	fmt.Println(strings.ToUpperSpecial(unicode.TurkishCase, "örnek iş"))
    	// Output: ÖRNEK İŞ
    }
    
    func ExampleToLower() {
    	fmt.Println(strings.ToLower("Gopher"))
    	// Output: gopher
    }
    
    func ExampleToLowerSpecial() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 22:05:38 UTC 2023
    - 10.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/executor_canonicalize.mlir

    // RUN: tf-opt %s -pass-pipeline='builtin.module(func.func(canonicalize))' | FileCheck %s
    
    
    // Test single graph with no outputs and one island is folded away.
    // CHECK-LABEL: func @graph_with_no_outputs
    // CHECK-SAME: (%[[ARG_0:[a-z0-9]*]]: tensor<i1>)
    func.func @graph_with_no_outputs(%arg0 : tensor<i1>) {
      tf_executor.graph {
        %1:2 = tf_executor.island {
          %3 = "tf.opA"(%arg0) : (tensor<i1>) -> tensor<i1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Nov 04 14:07:37 UTC 2022
    - 13.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/split_into_island_per_op.mlir

        tf_executor.fetch %merge_out#0, %merge_out#1 : tensor<*xi32>, tensor<i32>
      }
      func.return %graph#0, %graph#1 : tensor<*xi32>, tensor<i32>
    }
    
    // -----
    
    // Test that external functions aren't processed (used to crash).
    
    // CHECK-LABEL: func private @unused_external_func
    func.func private @unused_external_func()
    
    func.func @multiple_return(%arg0: tensor<*xi32>, %arg1: tensor<i32>) -> (tensor<*xi32>, tensor<*xi32>) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 20.2K bytes
    - Viewed (0)
  4. pkg/kubelet/volume_host.go

    	}
    }
    
    func (kvh *kubeletVolumeHost) GetServiceAccountTokenFunc() func(namespace, name string, tr *authenticationv1.TokenRequest) (*authenticationv1.TokenRequest, error) {
    	return kvh.tokenManager.GetServiceAccountToken
    }
    
    func (kvh *kubeletVolumeHost) DeleteServiceAccountTokenFunc() func(podUID types.UID) {
    	return kvh.tokenManager.DeleteServiceAccountToken
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/experimental/tac/tests/pick-subgraphs.mlir

    module {
      func.func @main(%arg0: tensor<100xf32>, %arg1: tensor<100xf32>, %arg2: tensor<100xf32>, %arg3: tensor<100xf32>) -> tensor<2x100xf32> {
        %0 = func.call @func_0_GPU_FLOAT(%arg0, %arg1, %arg2) {tac.device = "GPU", tac.inference_type = "FLOAT", tac.interface_name = "func_0"} : (tensor<100xf32>, tensor<100xf32>, tensor<100xf32>) -> tensor<100xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  6. src/runtime/callers_test.go

    	}()
    	func() {
    		defer func() {
    			r := recover()
    			if r != "panic2" {
    				t.Fatalf("got %v, wanted %v", r, "panic2")
    			}
    		}()
    		func() {
    			defer func() {
    				// Again, panic2 aborts/replaces panic1
    				panic("panic2")
    			}()
    			panic("panic1")
    		}()
    	}()
    }
    
    func TestCallersNilPointerPanic(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 21:36:31 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/quantization/stablehlo/tests/bridge/convert-tf-quant-types.mlir

    // -----
    
    // CHECK-LABEL: func @id_quint8(%arg0: tensor<1xui8>) -> tensor<1xui8> {
    func.func @id_quint8(%arg0: tensor<1x!tf_type.quint8>) -> tensor<1x!tf_type.quint8> {
      // CHECK-NEXT: return %arg0 : tensor<1xui8>
      func.return %arg0: tensor<1x!tf_type.quint8>
    }
    
    // -----
    
    // CHECK-LABEL: func @id_quint16(%arg0: tensor<1xui16>) -> tensor<1xui16> {
    func.func @id_quint16(%arg0: tensor<1x!tf_type.quint16>) -> tensor<1x!tf_type.quint16> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 25.9K bytes
    - Viewed (0)
  8. pkg/apis/admissionregistration/v1alpha1/zz_generated.conversion.go

    )
    
    func init() {
    	localSchemeBuilder.Register(RegisterConversions)
    }
    
    // RegisterConversions adds conversion functions to the given scheme.
    // Public to allow building arbitrary schemes.
    func RegisterConversions(s *runtime.Scheme) error {
    	if err := s.AddGeneratedConversionFunc((*v1alpha1.AuditAnnotation)(nil), (*admissionregistration.AuditAnnotation)(nil), func(a, b interface{}, scope conversion.Scope) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:10 UTC 2023
    - 46.6K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/merge-fusion-with-dequantize.mlir

    // Merge fusion with dequantize for relu case.
    
    module attributes {tf_saved_model.semantics} {
      // CHECK-LABEL: func.func private @merge_relu_fusion
      func.func private @merge_relu_fusion(%arg0: tensor<1x4xf32>) -> tensor<1x3xf32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 04 23:45:53 UTC 2024
    - 14K bytes
    - Viewed (0)
  10. pkg/test/framework/suite_test.go

    	"istio.io/istio/pkg/test/framework/resource"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func defaultExitFn(_ int) {}
    
    func settingsFn(s *resource.Settings) func(string) (*resource.Settings, error) {
    	return func(testID string) (*resource.Settings, error) {
    		s.TestID = testID
    		s.BaseDir = os.TempDir()
    		return s, nil
    	}
    }
    
    func defaultSettingsFn(testID string) (*resource.Settings, error) {
    	s := resource.DefaultSettings()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top