Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 410 for 1011 (0.07 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/mark_ops_for_outside_compilation.mlir

      %0:2 = "tf_device.cluster"() ({
        // CHECK: tf.ApproxTopK
        // CHECK-NOT: _xla_outside_compilation
        %1:2 = "tf.ApproxTopK"(%arg0) {k = 2} : (tensor<16xf32>) -> (tensor<?xf32>, tensor<?xi32>)
        tf_device.return %1#0, %1#1 : tensor<?xf32>, tensor<?xi32>
      }) {allow_soft_placement = true, num_cores_per_replica = 1, topology =  "", device_assignment =  []} : () -> (tensor<?xf32>, tensor<?xi32>)
      func.return %0#0, %0#1 : tensor<?xf32>, tensor<?xi32>
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 16:22:32 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/ops.mlir

      func.return %1#0, %1#1: tensor<3x4x2xf32>, tensor<3x4x2xi32>
    }
    
    // -----
    
    // CHECK-LABEL: topk_d
    func.func @topk_d(%arg0: tensor<?x8xf32>) -> (tensor<?x2xf32>, tensor<?x2xi32>) {
      %0 = arith.constant dense<2> : tensor<i32>
      %1:2 = "tfl.topk_v2"(%arg0, %0) : (tensor<?x8xf32>, tensor<i32>) -> (tensor<?x2xf32>, tensor<?x2xi32>)
      func.return %1#0, %1#1: tensor<?x2xf32>, tensor<?x2xi32>
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/bigger-applications.md

    ```Python hl_lines="5" title="app/main.py"
    {!../../../docs_src/bigger_applications/app/main.py!}
    ```
    
    ### 包含 `users` 和 `items` 的 `APIRouter`
    
    现在,让我们来包含来自 `users` 和 `items` 子模块的 `router`。
    
    ```Python hl_lines="10-11" title="app/main.py"
    {!../../../docs_src/bigger_applications/app/main.py!}
    ```
    
    !!! info
        `users.router` 包含了 `app/routers/users.py` 文件中的 `APIRouter`。
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. pkg/kubelet/nodestatus/setters_test.go

    				{Type: v1.NodeHostName, Address: testKubeletHostname},
    			},
    			existingAnnotations: map[string]string{
    				"alpha.kubernetes.io/provided-node-ip": "10.1.1.1,2600:1f14:1d4:d101::ba3d",
    			},
    			expectedAnnotations: map[string]string{
    				"alpha.kubernetes.io/provided-node-ip": "10.1.1.1",
    			},
    			shouldError: false,
    		},
    	}
    	for _, testCase := range cases {
    		t.Run(testCase.name, func(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 21:47:24 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

      %0 = "tf.AvgPool"(%arg0) {T = "tfdtype$DT_FLOAT", data_format = "NHWC", ksize = [1, 3, 6, 1], padding = "VALID", strides = [1, 3, 1, 1]} : (tensor<1x6x6x16xf32>) -> tensor<1x1x1x16xf32>
      // Unsupported ksize
      %1 = "tf.AvgPool"(%arg0) {T = "tfdtype$DT_FLOAT", data_format = "NHWC", ksize = [3, 3, 6, 1], padding = "VALID", strides = [1, 3, 1, 1]} : (tensor<1x6x6x16xf32>) -> tensor<1x1x1x16xf32>
      // Unsupported strides
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/tpu_space_to_depth_pass.mlir

        // CHECK: "tf.Conv2D"
        // CHECK-SAME: strides = [1, 1, 1, 1]
        // CHECK-SAME: (tensor<2x115x115x12xf32>, tensor<4x4x12x64xf32>) -> tensor<2x112x112x64xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 37.4K bytes
    - Viewed (0)
  7. pkg/controller/deployment/util/deployment_util_test.go

    			}
    		}
    	})
    
    	//Test Case 2:  Check if annotations are set properly
    	t.Run("SetReplicasAnnotations", func(t *testing.T) {
    		updated := SetReplicasAnnotations(&tRS, 10, 11)
    		if !updated {
    			t.Errorf("SetReplicasAnnotations() failed")
    		}
    		value, ok := tRS.Annotations[DesiredReplicasAnnotation]
    		if !ok {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2_test.go

    				6:  {vDelMarker, vObj}, // disk 6
    				7:  {vDelMarker, vObj}, // disk 7
    				8:  {vDelMarker, vObj}, // disk 8
    				9:  {vDelMarker, vObj}, // disk 9
    				10: {vObj},             // disk 10
    				11: {vDelMarker, vObj}, // disk 11
    				12: {vDelMarker, vObj}, // disk 12
    				13: {vDelMarker, vObj}, // disk 13
    				14: {vDelMarker, vObj}, // disk 14
    				15: {vDelMarker, vObj}, // disk 15
    			},
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Mar 08 17:50:48 UTC 2024
    - 36.4K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-with-tf2xla-hlo-importer.mlir

      func.func @matrix_diag_part_v3(%arg0: tensor<7x140x128xi32>) -> tensor<7x22x128xi32> {
        %0 = mhlo.constant dense<42> : tensor<i32>  // padding value
        %1 = mhlo.constant dense<[-10, 11]> : tensor<2xi32>  // k
        // CHECK: mhlo.iota
        // CHECK: mhlo.reshape
        // CHECK: mhlo.concatenate
        // CHECK: mhlo.gather
        // CHECK: mhlo.broadcast
        // CHECK: mhlo.select
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 38.6K bytes
    - Viewed (1)
  10. src/runtime/os_windows.go

    // functions like badmorestackg0. In such cases, we'll always take the
    // ASCII path.
    //
    //go:nosplit
    func write1(fd uintptr, buf unsafe.Pointer, n int32) int32 {
    	const (
    		_STD_OUTPUT_HANDLE = ^uintptr(10) // -11
    		_STD_ERROR_HANDLE  = ^uintptr(11) // -12
    	)
    	var handle uintptr
    	switch fd {
    	case 1:
    		handle = stdcall1(_GetStdHandle, _STD_OUTPUT_HANDLE)
    	case 2:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 22:55:25 UTC 2024
    - 41.5K bytes
    - Viewed (0)
Back to top