Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 35 for logical_or (0.21 sec)

  1. 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)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/contracts/firContractUtils.kt

                LogicOperationKind.OR -> KaContractBinaryLogicExpression.KaLogicOperation.OR
            }
        )
    
        override fun visitLogicalNot(logicalNot: ConeLogicalNot, data: Unit): KaContractLogicalNotExpression =
            KaContractLogicalNotExpression(logicalNot.arg.accept())
    
        override fun visitIsInstancePredicate(isInstancePredicate: ConeIsInstancePredicate, data: Unit): KaContractIsInstancePredicateExpression =
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/replicate_to_island.mlir

            %1 = "tf._TPUDeviceOrdinalPlaceholder"() {logical_core = 0} : () -> tensor<i64>
            %2 = "tf._TPUDeviceOrdinalPlaceholder"() {logical_core = 1} : () -> tensor<i64>
            tf_device.return
          }
          tf_executor.yield
        }
        tf_executor.fetch
      }
      func.return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 15.1K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/transforms/replicate_to_island.cc

                       TF::EnqueueTPUEmbeddingArbitraryTensorBatchOp>(op);
    }
    
    // Returns the device ordinal (`device_ordinal`) for a replica (`replica_id`)
    // and logical core (`logical_core`).
    // `replica_id` is the index of the ancestor ReplicateOp in [0, num_replicas).
    // `logical_core` is the index of the TPU core in [0, num_cores_per_replica).
    // `device_ordinal` is the index of the TPU core relative to its host.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jul 24 21:01:40 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util.cc

      xla::DeviceAssignment device_assignment(num_replicas, num_cores_per_replica);
      int pos = 0;
      for (int replica = 0; replica < num_replicas; ++replica) {
        for (int logical_core = 0; logical_core < num_cores_per_replica;
             ++logical_core) {
          int x = device_assignment_attr[pos++];
          int y = device_assignment_attr[pos++];
          int z = device_assignment_attr[pos++];
          int core = device_assignment_attr[pos++];
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Jun 10 20:10:40 UTC 2024
    - 32.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/replicate_to_island_legacy.mlir

          %1:2 = tf_device.replicate {n = 2 : i32, devices = {TPU_REPLICATED_CORE_0 = ["/job:worker/replica:0/task:0/device:TPU:1", "/job:worker/replica:0/task:0/device:TPU:2"]}} {
            %2 = "tf._TPUDeviceOrdinalPlaceholder"() {logical_core = 0} : () -> tensor<i64>
            tf_device.return %2 : tensor<i64>
          }
          tf_executor.yield %1#0, %1#1 : tensor<i64>, tensor<i64>
        }
        tf_executor.fetch
      }
      func.return
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 9.3K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/tests/fuse-tftext.mlir

      %105 = "tf.LogicalOr"(%104, %2) {device = ""} : (tensor<i1>, tensor<i1>) -> tensor<i1>
      %106 = "tf.Equal"(%103, %13) {device = "", incompatible_shape_error = true} : (tensor<i64>, tensor<i64>) -> tensor<i1>
      %107 = "tf.LogicalOr"(%105, %106) {device = ""} : (tensor<i1>, tensor<i1>) -> tensor<i1>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 460.3K bytes
    - Viewed (0)
  8. tensorflow/cc/gradients/math_grad.cc

    REGISTER_NO_GRADIENT_OP("Equal");
    REGISTER_NO_GRADIENT_OP("ApproximateEqual");
    REGISTER_NO_GRADIENT_OP("NotEqual");
    REGISTER_NO_GRADIENT_OP("LogicalAnd");
    REGISTER_NO_GRADIENT_OP("LogicalOr");
    REGISTER_NO_GRADIENT_OP("LogicalNot");
    REGISTER_NO_GRADIENT_OP("Floor");
    
    // Conjugate helper function returns the conjugate of an Output if it
    // is complex valued.
    Output ConjugateHelper(const Scope& scope, const Output& out) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 50.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/tensorflow/tests/replicate_invariant_op_hoisting.mlir

      // CHECK: tf_device.replicate
      // CHECK:   tf._TPUDeviceOrdinalPlaceholder
      %0:2 = tf_device.replicate([%arg0, %arg1] as %ri: tensor<*xf32>) {n = 2: i32} {
        %1 = "tf._TPUDeviceOrdinalPlaceholder"() {logical_core = 0} : () -> tensor<i64>
        tf_device.return %1 : tensor<i64>
      }
      func.return
    }
    
    
    // CHECK-LABEL: func @replicate_resource_var_arg_shape
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Oct 31 08:59:10 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/canonicalize.td

        (TF_ConstOp ConstantAttr<RankedF32ElementsAttr<[]>, "1.0f">))),
      (TF_Log1pOp:$dest $arg), [], [(CopyAttrs $src, $dest)]>;
    
    //===----------------------------------------------------------------------===//
    // LogicalNot op patterns.
    //===----------------------------------------------------------------------===//
    
    def LogicalNotOfEqual : Pat<
      (TF_LogicalNotOp:$src (TF_EqualOp $arg0, $arg1, $shape_error)),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Dec 06 18:42:28 UTC 2023
    - 17K bytes
    - Viewed (0)
Back to top