Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PredOpTrait (0.1 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_executor_ops.td

      let hasCustomAssemblyFormat = 0;
    }
    
    def TfExecutor_SwitchOp : TfExecutor_Op<"Switch",
        [ControlOperandsAfterAllData, HasParent<"GraphOp">,
         PredOpTrait<"data operand must be broadcastable to true result",
                     TF_OpIsBroadcastableToRes<0, 0>>,
         PredOpTrait<"data operand must be broadcastable to false result",
                     TF_OpIsBroadcastableToRes<0, 1>>]>{
      let summary = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 23 19:35:12 UTC 2023
    - 22K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td

    class TF_OperandHasRank<int n, int m> :
      PredOpTrait<"operand " # n # " is " # m # "-D",
        Or<[TF_OperandIsUnrankedPred<n>,
          CPred<"$_op.getOperand(" # n #
          ").getType().cast<ShapedType>().getRank() == " # m>]>>;
    
    // Returns true if the n-th result has unknown rank or has rank m.
    class TF_ResultHasRank<int n, int m> :
      PredOpTrait<"result " # n # " is " # m # "-D",
        Or<[TF_ResultIsUnrankedPred<n>,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 30.5K bytes
    - Viewed (0)
Back to top