Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for IsOutputCompileTimeConstantOrBounded (0.21 sec)

  1. tensorflow/compiler/mlir/quantization/tensorflow/passes/duplicate_shape_determining_constants.cc

      void runOnOperation() override;
    };
    
    // Returns True iff the otuput value of `op` is either a compile time constant
    // or bounded from the XLA compiler's perspective, even if it is not a
    // `ConstOp`.
    bool IsOutputCompileTimeConstantOrBounded(Operation* op) {
      return llvm::isa_and_nonnull<TF::ShapeOp, TF::ShapeNOp, TF::RankOp,
                                   TF::SizeOp, TF::TensorArraySizeV3Op,
                                   TF::XlaSetBoundOp>(op);
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 05:52:39 UTC 2024
    - 17.5K bytes
    - Viewed (0)
Back to top