Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for OperandsSameAsResultsTypeOrRef (0.32 sec)

  1. tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h

    // type corresponding to the result type.
    // TODO(jpienaar): Update the name and the description.
    template <typename ConcreteType>
    class OperandsSameAsResultsTypeOrRef
        : public TraitBase<ConcreteType, OperandsSameAsResultsTypeOrRef> {
     public:
      static LogicalResult verifyTrait(Operation* op) {
        LogicalResult shapeMatch = impl::verifySameOperandsAndResultShape(op);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/internal/passes/tpu_sharding_identification_pass.cc

            // Exp, ceil, etc.
            def->hasTrait<mlir::OpTrait::SameOperandsAndResultType>() ||
            // Identity
            def->hasTrait<mlir::OpTrait::TF::OperandsSameAsResultsTypeOrRef>() ||
            // AddV2, Sub, etc.
            (def->hasTrait<
                 mlir::OpTrait::TF::SameOperandsAndResultElementTypeResolveRef>() &&
             def->hasTrait<mlir::OpTrait::TF::CwiseBinary>())) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Apr 30 02:01:13 UTC 2024
    - 28.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/ir/tf_op_base.td

    // the inputs either have the same type as result or a ref type corresponding to
    // the result type.
    def TF_OperandsSameAsResultsTypeOrRef : NativeOpTrait<
      "TF::OperandsSameAsResultsTypeOrRef">;
    
    // Op has the same operand and result element types (or type itself, if scalar)
    // after resolving reference types (i.e., after converting reference types to
    // their corresponding TensorFlow or standard types).
    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