- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for GetTypeId (0.14 sec)
-
tensorflow/compiler/mlir/tf2xla/transforms/legalization_op_config_test.cc
context.loadAllAvailableDialects(); for (auto operation : context.getRegisteredOperations()) { if (IsTypeLegalizedWithMlir(operation.getTypeID())) { mlir_lowering_count++; } else if (HasTf2XlaFallback(operation.getTypeID())) { tf2xla_fallback_count++; } else { non_categorized_count++; } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu May 30 03:31:01 UTC 2024 - 8.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/internal/passes/input_lowering_metrics_pass.cc
func_op->walk([&](Operation* op) { auto abstractOp = op->getRegisteredInfo(); if (!abstractOp) return WalkResult::advance(); if (mlir::mhlo::IsDynamicPadderOp(abstractOp->getTypeID())) { has_dynamic_op = true; dynamism_op_counter->GetCell(op->getName().getStringRef().str()) ->IncrementBy(1); } return WalkResult::advance(); }); if (has_dynamic_op) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 08:55:35 UTC 2024 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_with_tf2xla.cc
} auto abstractOp = op->getRegisteredInfo(); if (!abstractOp) return failure(); if (!(IsOpAllowedTf2xlaFallback(abstractOp->getTypeID()) || (prefer_tf2xla_ && IsOpAllowedTf2xlaPreferred(abstractOp->getTypeID())))) { return failure(); } return Tf2XlaRewriter::RewriteOp(op, rewriter, device_type_); } private: std::string device_type_;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 28 21:49:50 UTC 2024 - 9.7K 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) -
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)