Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for GetTypeId (0.15 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/tpu_validate_inputs.cc

                TypeID::get<TF::OutfeedEnqueueTupleOp>(),
            };
        return ops_set;
      }();
      auto abstractOp = op->getRegisteredInfo();
      if (!abstractOp) return true;
      return ops->count(abstractOp->getTypeID()) == 0;
    }
    
    bool IsIntersectionXlaNonXlaOps(Operation* op) {
      static auto* ops = [] {
        llvm::SmallDenseSet<mlir::TypeID, 32>* ops_set =
            new llvm::SmallDenseSet<mlir::TypeID, 32>{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 07 06:51:01 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/ir/tf_traits.h

                                                   mlir::Type maybe_ref_type) {
      if (auto ref_type =
              mlir::dyn_cast<mlir::tf_type::TensorFlowRefType>(maybe_ref_type))
        return success(ref_type.RemoveRef().getTypeID() == type.getTypeID());
      return failure();
    }
    
    // This class provides verification for ops that are known to have the same
    // result types and all operands are either of the same type as result or a REF
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  3. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-param-util.h

      // Test case base name for display purposes.
      virtual const string& GetTestCaseName() const { return test_case_name_; }
      // Test case id to verify identity.
      virtual TypeId GetTestCaseTypeId() const { return GetTypeId<TestCase>(); }
      // TEST_P macro uses AddTestPattern() to record information
      // about a single test in a LocalTestInfo structure.
      // test_case_name is the base name of the test case (without invocation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf.cc

        // If the pattern is in include_ops then include it.
        bool include =
            !pat_op_name ||
            IsTypeLegalizedWithMlir(pat_op_name->getRegisteredInfo()->getTypeID());
        if (include) to.add(std::move(pattern));
      }
    
      // Don't filter PDLPatterns.
      to.add(std::move(from.getPDLPatterns()));
    
      return to;
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  5. testing/performance/src/templates/native-dependents-resources/googleTest/libs/googleTest/1.7.0/include/gtest/internal/gtest-internal.h

      static bool dummy_;
    };
    
    template <typename T>
    bool TypeIdHelper<T>::dummy_ = false;
    
    // GetTypeId<T>() returns the ID of type T.  Different values will be
    // returned for different types.  Calling the function twice with the
    // same type argument is guaranteed to return the same ID.
    template <typename T>
    TypeId GetTypeId() {
      // The compiler is required to allocate a different
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config.cc

    }
    
    bool IsOpLegalizedWithMlir(Operation& op) {
      auto abstractOp = op.getRegisteredInfo();
      if (!abstractOp) return false;
      return IsTypeLegalizedWithMlir(abstractOp->getTypeID());
    }
    
    bool IsTypeLegalizedWithMlir(const TypeID& type_id) {
      return MlirAlwaysOps().contains(type_id);
    }
    
    bool IsOpAllowedTf2xlaFallback(const TypeID& type_id) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tf2xla/internal/passes/mark_ops_for_outside_compilation.cc

      if (MatchesPattern(op, supported_ops)) return true;
    
      auto abstractOp = op.getRegisteredInfo();
      if (!abstractOp) return false;
      return mlir::mhlo::HasTf2XlaFallback(abstractOp->getTypeID());
    }
    
    bool IsVariant(Value value) {
      return mlir::isa<mlir::TF::VariantType>(
          getElementTypeOrSelf(value.getType()));
    }
    
    bool HasOutsideCompiledAncestor(Operation* op) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.4K bytes
    - Viewed (0)
Back to top