Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 58 for 5xi1 (0.08 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/decompose_optionals.mlir

    // -----
    
    // CHECK-LABEL: @if
    func.func @if() {
      // CHECK-NOT: Optional
      %0 = builtin.unrealized_conversion_cast to tensor<5xi1>
      %1 = "tf.OptionalNone"() : () -> tensor<!tf_type.variant<tensor<f32>>>
      %2 = "tf.If"(%0, %1) <{else_branch = @false, is_stateless = false, then_branch = @true}>
          : (tensor<5xi1>, tensor<!tf_type.variant<tensor<f32>>>) -> (tensor<!tf_type.variant<tensor<f32>>>)
      return
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:18:05 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

      func.return %0 : tensor<5xi1>
    }
    
    // -----
    
    // CHECK-LABEL: testNotEqualOpIncompatibleShapeFalse
    func.func @testNotEqualOpIncompatibleShapeFalse(%x: tensor<5xf32>, %y: tensor<4xf32>) -> tensor<*xi1> {
      %0 = "tf.NotEqual"(%x, %y) {incompatible_shape_error = false} : (tensor<5xf32>, tensor<4xf32>) -> tensor<*xi1>
      func.return %0 : tensor<*xi1>
    }
    
    // -----
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 23 14:40:35 UTC 2023
    - 236.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/tests/legalize-tf-binary-elementwise.mlir

      func.return %0: tensor<*xi1>
    }
    
    // CHECK-LABEL: func @or
    func.func @or(%arg0: tensor<2xi1>, %arg1: tensor<2xi1>) -> tensor<2xi1> {
      // CHECK-NEXT:  mhlo.or
      %0 = "tf.LogicalOr"(%arg0, %arg1) : (tensor<2xi1>, tensor<2xi1>) -> tensor<2xi1>
      func.return %0: tensor<2xi1>
    }
    
    // CHECK-LABEL: func @bitwise_or
    func.func @bitwise_or(%arg0: tensor<4xi32>, %arg1: tensor<4xi32>) -> tensor<4xi32> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/tests/legalize_hlo.mlir

    // CHECK:           return %[[VAL_2]] : tensor<?xi1>
    // CHECK:         }
    func.func @and_dynamic(%arg0: tensor<?xi1>, %arg1: tensor<1xi1>) -> tensor<?xi1> {
      %0 = "chlo.broadcast_and"(%arg0, %arg1) : (tensor<?xi1>, tensor<1xi1>) -> tensor<?xi1>
      func.return %0 : tensor<?xi1>
    }
    
    // CHECK-LABEL:   func @or(
    // CHECK-SAME:             %[[VAL_0:.*]]: tensor<2xi1>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 29 07:26:59 UTC 2024
    - 340.2K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/constants.mlir

    // Ensure constants roundtrip exactly
    
    func.func @bool() -> tensor<4xi1> {
      // CHECK-LABEL: @bool
      // CHECK: value = dense<[false, true, true, false]> : tensor<4xi1>
      %0 = "tfl.pseudo_const"() { value = dense<[false, true, true, false]> : tensor<4xi1> } : () -> tensor<4xi1>
      func.return %0 : tensor<4xi1>
    }
    
    func.func @complex64() -> tensor<4xcomplex<f32>> {
      // CHECK-LABEL: @complex64
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

      func.return %0 : tensor<8xi1>
    // CHECK-LABEL: logicalNot
    // CHECK:  "tfl.logical_not"(%arg0) : (tensor<8xi1>) -> tensor<8xi1>
    }
    
    func.func @logicalOr(%arg0: tensor<8xi1>, %arg1: tensor<8xi1>) -> tensor<8xi1> {
      %0 = "tf.LogicalOr"(%arg0, %arg1) : (tensor<8xi1>, tensor<8xi1>) -> tensor<8xi1>
      func.return %0: tensor<8xi1>
    
    // CHECK-LABEL: logicalOr
    // CHECK:  tfl.logical_or %arg0, %arg1 : tensor<8xi1>
    // CHECK:  return
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/flatbuffer2mlir/constants_offset.mlir

    // Ensure constants roundtrip exactly
    
    func.func @bool() -> tensor<4xi1> {
      // CHECK-LABEL: @bool
      // CHECK: value = dense<[false, true, true, false]> : tensor<4xi1>
      %0 = "tfl.pseudo_const"() { value = dense<[false, true, true, false]> : tensor<4xi1> } : () -> tensor<4xi1>
      func.return %0 : tensor<4xi1>
    }
    
    func.func @complex64() -> tensor<4xcomplex<f32>> {
      // CHECK-LABEL: @complex64
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tfr/tests/raise_to_tf.mlir

    func.func @fixed_element_attribute(%arg0: tensor<2xf32>) -> tensor<2xi1> {
      %0 = "tfr.cast"(%arg0) : (tensor<2xf32>) -> !tfr.tensor
      %1 = tfr.call @tf__positive(%0) : (!tfr.tensor) -> !tfr.tensor
      %2 = "tfr.cast"(%1) : (!tfr.tensor) -> tensor<2xi1>
      func.return %2 : tensor<2xi1>
    // CHECK: %[[positive:.*]] = "tf.Positive"(%arg0) : (tensor<2xf32>) -> tensor<*xi1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir

      // CHECK: %[[AND:.*]] = "tf.LogicalAnd"(%[[EQ]], %[[IS_ODD]]) : (tensor<2xi1>, tensor<2xi1>) -> tensor<2xi1>
      // CHECK: %[[OR:.*]] = "tf.LogicalOr"(%[[GT]], %[[AND]]) : (tensor<2xi1>, tensor<2xi1>) -> tensor<2xi1>
      // CHECK: %[[ADD:.*]] = "tf.AddV2"(%[[ROUND_VAL]], %[[ONE]]) : (tensor<2xf32>, tensor<f32>) -> tensor<2xf32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Jan 05 18:35:42 UTC 2024
    - 92K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/tests/optimize.mlir

    func.func @noReplaceReshapeEqualWithOneHotUnranked(%arg0: tensor<*xi1>) -> tensor<*xi1> {
      %cst = arith.constant dense<true> : tensor<i1>
      %1 = "tfl.equal"(%arg0, %cst) : (tensor<*xi1>, tensor<i1>) -> tensor<*xi1>
      func.return %1 : tensor<*xi1>
    
      // CHECK-DAG: %[[CST:.*]] = arith.constant dense<true> : tensor<i1>
      // CHECK: %[[EQUAL:.*]] = "tfl.equal"(%arg0, %cst) : (tensor<*xi1>, tensor<i1>) -> tensor<*xi1>
      // CHECK-NEXT: return %[[EQUAL]]
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 16 20:31:41 UTC 2024
    - 284.1K bytes
    - Viewed (0)
Back to top