Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 481 for 1011 (0.07 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo_patterns.td

    //              |          |    \
    //             &&          +    div
    //           /   |        / \
    //        !=    !=       div -1
    //       / |   / |      / |
    //    rem 0.0 sn sn1    -  $1
    //   / |      |  |    / |
    // $0 $1     $1 rem  $0 rem
    // Note that named operators like 'sn' and 'sn1' are different values produced by
    // the same function in this case the sign function. Named values like 'div'
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 03 08:58:22 UTC 2024
    - 34K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/bigger-applications.md

    {!../../../docs_src/bigger_applications/app/main.py!}
    ```
    
    ### Include the `APIRouter`s for `users` and `items`
    
    Now, let's include the `router`s from the submodules `users` and `items`:
    
    ```Python hl_lines="10-11" title="app/main.py"
    {!../../../docs_src/bigger_applications/app/main.py!}
    ```
    
    !!! info
        `users.router` contains the `APIRouter` inside of the file `app/routers/users.py`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top