Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for LOGICAL_NOT (0.12 sec)

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

      func.return %0 : tensor<? x f32>
    }
    
    // CHECK-LABEL: testLogicalNot
    func.func @testLogicalNot(tensor<? x i1>) -> tensor<? x i1> {
    ^bb0(%arg0: tensor<? x i1>):
      // CHECK: "tfl.logical_not"(%arg0)
      %0 = "tfl.logical_not"(%arg0): (tensor<? x i1>) -> tensor<? x i1>
      func.return %0 : tensor<? x i1>
    }
    
    // CHECK-LABEL: testSign
    func.func @testSign(%arg0: tensor<? x f32>) -> tensor<? x f32> {
    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/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)
  3. tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir

    }
    
    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> {
      %0 = "tf.LogicalOr"(%arg0, %arg1) : (tensor<8xi1>, 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)
  4. tensorflow/compiler/mlir/lite/ir/tfl_ops.td

        }
        void $cppClass::print(OpAsmPrinter &p) {
          return printOneResultOp(getOperation(), p);
        }
      }];
    }
    
    def TFL_LogicalNotOp : TFL_Op<"logical_not", [
        Pure,
        SameOperandsAndResultShape]> {
      let summary = "Logical NOT operator";
    
      let description = [{
        Element-wise logical NOT operation.
      }];
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jun 06 19:09:08 UTC 2024
    - 186K bytes
    - Viewed (0)
Back to top