- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for logical_not (0.14 sec)
-
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) -
tensorflow/compiler/mlir/lite/tests/legalize-tf.mlir
// CHECK-LABEL: logicalAnd // CHECK: tfl.logical_and %arg0, %arg1 : tensor<8xi1> // 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) -
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) -
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) -
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)