Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for logical_or (0.14 sec)

  1. tensorflow/compiler/mlir/lite/tests/ops.mlir

      // CHECK: tfl.logical_or %arg0, %arg1
      %0 = "tfl.logical_or"(%arg0, %arg1) : (tensor<? x i1>, tensor<? x i1>) -> tensor<? x i1>
      func.return %0#0 : tensor<? x i1>
    }
    
    // -----
    
    func.func @testLogicalOrWrongOperandType(tensor<? x i32>, tensor<? x i32>) -> tensor<? x i32> {
    ^bb0(%arg0: tensor<? x i32>, %arg1: tensor<? x i32>):
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 189.2K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

    // CHECK:  return
    }
    
    func.func @logicalNot(%arg0: tensor<8xi1>) -> tensor<8xi1> {
      %0 = "tf.LogicalNot"(%arg0) : (tensor<8xi1>) -> tensor<8xi1>
      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> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 05 01:54:33 UTC 2024
    - 153.4K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

    }
    
    def TFL_LogicalNotOp : TFL_Op<"logical_not", [
        Pure,
        SameOperandsAndResultShape]> {
      let summary = "Logical NOT operator";
    
      let description = [{
        Element-wise logical NOT operation.
      }];
    
      let arguments = (ins TFL_BoolTensor:$lhs);
    
      let results = (outs TFL_BoolTensor:$output);
    }
    
    def TFL_LogicalOrOp : TFL_Op<"logical_or", [Pure]> {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/tests/canonicalize.mlir

    // CHECK: return %arg0
    }
    
    // CHECK-LABEL: testDoubleLogicalNot
    func.func @testDoubleLogicalNot(%arg0: tensor<8x16x32x64xi1>) -> tensor<8x16x32x64xi1> {
      %0 = "tf.LogicalNot"(%arg0) : (tensor<8x16x32x64xi1>) -> tensor<8x16x32x64xi1>
      %1 = "tf.LogicalNot"(%0) : (tensor<8x16x32x64xi1>) -> tensor<8x16x32x64xi1>
      func.return %1: tensor<8x16x32x64xi1>
    
    // CHECK: return %arg0
    }
    
    // CHECK-LABEL: testDoubleNeg
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 22:07:10 UTC 2024
    - 132.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/tests/extract_outside_compilation.mlir

        // CHECK:           %[[PROGRAM0:.+]] = "tf._XlaCompileMlirPlaceholderProgramKey"
        // CHECK:           %[[DEVICE0:.+]] = "tf._TPUDeviceOrdinalPlaceholder"
        // CHECK-SAME:        logical_core = 0
        // CHECK:           %[[RECV0:.+]] = "tf._XlaRecvAtHostV2"(%[[PROGRAM0]], %[[DEVICE0]])
        // CHECK-SAME:        key = "host_compute_channel_0_args"
        // CHECK-SAME:        _xla_has_host_transfer = true
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 129.6K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/side-effect-analysis-test.mlir

        // expected-remark@above {{ID: 5}}
        %island = tf_executor.island {
            // expected-remark@above {{ID: 3}}
            // expected-remark@above {{Successors: {4}}}
            "tf._TPUDeviceOrdinalPlaceholder"() {logical_core = 0} : () -> tensor<i64>
            // expected-remark@above {{ID: 0}}
            "tf._UnknownSideEffectingOp_"() : () -> ()
            // expected-remark@above {{ID: 1}}
            // expected-remark@above {{Successors: {2}}}
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 20 04:39:18 UTC 2023
    - 129.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/ir/tfl_ops.cc

    /// possible.
    /// The function currently asserts that the `result_type` to be a f32 tensor
    /// type.
    /// TODO: Extend this function to handle integral tensor for ops like
    /// "tfl.logical_not".
    Attribute ConstFoldUnaryOp(Type result_type, Attribute operand,
                               llvm::function_ref<APFloat(APFloat)> calculate) {
      assert(IsF32ShapedType(result_type) || IsBF16ShapedType(result_type));
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 169.2K bytes
    - Viewed (0)
Back to top