Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for TestLess (0.09 sec)

  1. src/cmp/cmp_test.go

    	{negzero, negzero, 0},
    	{negzero, 0.0, 0},
    	{0.0, negzero, 0},
    	{negzero, 1.0, -1},
    	{negzero, -1.0, +1},
    	{nilptr, nonnilptr, -1},
    	{nonnilptr, nilptr, 1},
    	{nonnilptr, nonnilptr, 0},
    }
    
    func TestLess(t *testing.T) {
    	for _, test := range tests {
    		var b bool
    		switch test.x.(type) {
    		case int:
    			b = cmp.Less(test.x.(int), test.y.(int))
    		case string:
    			b = cmp.Less(test.x.(string), test.y.(string))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 23:39:07 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/ops.mlir

      %0 = tfl.div %arg0, %arg1 {fused_activation_function = "RELU6"} : tensor<? x i32>
      func.return %0#0 : tensor<? x i32>
    }
    
    // CHECK-LABEL: testLess
    func.func @testLess(tensor<? x i32>, tensor<? x i32>) -> tensor<? x i1> {
    ^bb0(%arg0: tensor<? x i32>, %arg1: tensor<? x i32>):
      // CHECK: tfl.less(%arg0, %arg1)
    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. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

      func.return %0 : tensor<3x2x4xf32>
    }
    
    // -----
    
    // Test invalid tf.Less
    func.func @testLess(tensor<4xi32>, tensor<4xi32>) -> tensor<4xi32> {
    ^bb0(%arg0: tensor<4xi32>, %arg1: tensor<4xi32>):
      // expected-error @+1 {{op result #0 must be tensor of bool values}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  4. RELEASE.md

    Zuidhof, Guillaume Klein, Guozhong Zhuang, Haggai, Harald Husum, imsheridan,
    Ivan Zhang, Jan Zikes, Jayaram Bobba, Jesse Benson, Jesse Gumz, Jiajia Li, Jie,
    jinghuangintel, Jingwen, jjsjann123, Joe Yearsley, Joel Hestness, Joel Shor,
    josephyearsley, Junpeng Lao, Karol M. Langner, Kb Sriram, krantideep95, Krish
    Ravindranath, Letian Feng, Loo Rong Jie, Lukas Geiger, Maciej, Mahmoud Abuzaina,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 730.3K bytes
    - Viewed (0)
Back to top