Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for 1xi8 (0.04 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/shape_inference.mlir

        func.return %read : tensor<1xi8>
      }
    
      // CHECK-LABEL: do_not_infer_var_handle_op_when_custom_op_uses_it
      func.func @do_not_infer_var_handle_op_when_custom_op_uses_it() -> tensor<1xi8> {
        %cst = arith.constant dense<1> : tensor<1xi8>
        %0 = "tf.VarHandleOp"() {container = "", shared_name = "bar"} : () -> tensor<!tf_type.resource<tensor<*xi8>>>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jan 23 17:24:10 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/tests/tf-ops.mlir

    // Test invalid tf.ToBool
    func.func @testInvalidToBool(%arg0: tensor<i32>) -> tensor<1xi1> {
      // expected-error @+2 {{'tf.ToBool' op failed to infer returned types}}
      // expected-error @+1 {{op inferred type(s) 'tensor<i1>' are incompatible with return type(s) of operation 'tensor<1xi1>'}}
      %0 = "tf.ToBool"(%arg0) : (tensor<i32>) -> tensor<1xi1>
      func.return %0 : tensor<1xi1>
    }
    
    // -----
    
    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/lite/tests/legalize-tf.mlir

      // CHECK: tf.Conv2DBackpropInput
    }
    
    func.func @assert_remove(%arg0: tensor<1xi32>, %arg1: tensor<1xi32>) -> tensor<1xi1> {
      %0 = "tf.LessEqual"(%arg0, %arg1) : (tensor<1xi32>, tensor<1xi32>) -> tensor<1xi1>
      "tf.Assert"(%0, %arg1) {summarize = 3} : (tensor<1xi1>, tensor<1xi32>) -> ()
      func.return %0 : tensor<1xi1>
      // CHECK-LABEL: assert_remove
      // CHECK: tfl.less_equal
      // CHECK-NOT: Assert
      // 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)
Back to top