- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 25 for GetTypeId (0.26 sec)
-
tensorflow/compiler/mlir/lite/experimental/tac/README.md
// We can add other transformations we like here. patterns.add<LowerPackIntoConcatReshape, UnrollSplit, UnrollSplitV, PadSlice>(context); return patterns; } mlir::TypeID GetTypeId() const override { return mlir::TypeID::get<FooHardware>(); } // We can specify what ops are not supported here. bool IsNotSupportedOp(mlir::Operation* op) const override { return false; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 29 18:32:13 UTC 2022 - 11.6K bytes - Viewed (0) -
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) -
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) -
tensorflow/compiler/mlir/tf2xla/transforms/verify_tfxla_legalization.cc
return true; } return HasBounds(ranked_tensor); } return true; } bool EmitMustBeConstantError(Operation* op) { if (operations_to_skip->contains(op->getRegisteredInfo()->getTypeID())) { IncrementCounterFor(mlir_non_static_op_skip_count, op); return true; } emitError(op->getLoc()) << absl::StrCat( "Node `", op->getName().getStringRef().str(), "` ", kMustBeConstantError);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.1K bytes - Viewed (0) -
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) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/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: Mon Nov 27 17:53:42 UTC 2023 - 43.1K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/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: Mon Nov 27 17:53:42 UTC 2023 - 23.6K bytes - Viewed (0) -
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) -
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) -
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)