- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 58 for comp_name (0.21 sec)
-
tensorflow/compiler/mlir/lite/metrics/error_collector_inst.cc
// Find the op names with tf or tfl dialect prefix, Ex: "tf.Abs" or "tfl.Abs". auto collectOps = [this](Operation *op) { const auto &op_name = op->getName().getStringRef().str(); if (absl::StartsWith(op_name, "tf.") || absl::StartsWith(op_name, "tfl.")) { loc_to_name_.emplace(op->getLoc(), op_name); } }; for (auto ®ion : module->getRegions()) { region.walk(collectOps); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Mar 25 01:48:36 UTC 2024 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/export_utils.cc
if (!op_name_or_status.ok()) return false; auto op_name = std::move(op_name_or_status).value(); if (op_name == "NextIteration") return mlir::isa<mlir::TF::TensorFlowRefType>( mlir::getElementTypeOrSelf(op->getOperand(0).getType())); if (op_name == "Enter" || op_name == "Exit" || op_name == "Switch" || op_name == "Merge") { return mlir::isa<mlir::TF::TensorFlowRefType>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 19.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/tftext_utils_test.cc
using tensorflow::OpRegistrationData; using tensorflow::OpRegistry; using tensorflow::Status; namespace { void Register(const std::string& op_name, OpRegistry* registry) { registry->Register([op_name](OpRegistrationData* op_reg_data) -> Status { op_reg_data->op_def.set_name(op_name); return absl::OkStatus(); }); } } // namespace TEST(TfTextUtilsTest, TestTfTextRegistered) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 29 02:14:37 UTC 2024 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfrt/analysis/cost_analysis.cc
} } // namespace void RegisterCostFunction(absl::string_view op_name, CostFunction cost_function) { RegisterCostFunction(GetCostFunctionRegistry(), op_name, std::move(cost_function)); } bool HasCostFunctionRegistered(absl::string_view op_name) { return GetCostFunctionRegistry().contains(op_name); } int64_t CostAnalysis::GetCost(mlir::Operation* op) const {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/transforms/xla_legalize_tf.cc
"/tensorflow/core/tf2xla/v1/mlir_failed_xla_legalize_tf_count", "Counts the attempts of legalization of ops", "op_name"); auto *mlir_failed_legalization_count = tensorflow::monitoring::Counter<2>::New( "/tensorflow/core/tf2xla/v1/mlir_failed_xla_legalize_tf_pass_count", "Counts the failure of legalization of ops", "op_name", "legality"); class LegalizeTF : public impl::LegalizeTFBase<LegalizeTF> { public:
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/lite/quantization/tensorflow/fallback_to_flex_ops.cc
bool IsAllowListedOp(Operation *op) { std::string op_name = op->getName().getStringRef().str(); if (IsAlwaysAllowlistedOp(op) || IsTfFakeQuantOp(op)) { return true; } else if (mode_ == kDefaultMode) { return QuantizableOpsInDefaultMode().count(op_name) > 0; } else if (mode_ == kLegacyIntegerMode) { return QuantizableOpsInLegacyMode().count(op_name) > 0; } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 12.2K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/common/controller.cc
void Controller::BuildModel() { // Build the internal data model for the requested ops for (const auto& op_name : path_config_.op_names) { const OpDef* op_def = nullptr; TF_CHECK_OK(OpRegistry::Global()->LookUpOpDef(op_name, &op_def)); CHECK(op_def != nullptr); // Crash OK const ApiDef* api_def = api_def_map_->GetApiDef(op_name); CHECK(api_def != nullptr); // Crash OK
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 09:51:28 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/metrics/types_util.cc
const std::string& op_name, const Location& location) { using tflite::metrics::ConverterErrorData; ConverterErrorData error; if (!pass_name.empty()) { error.set_subcomponent(pass_name); } if (!error_message.empty()) { error.set_error_message(error_message); } if (!op_name.empty()) { error.mutable_operator_()->set_name(op_name); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 4.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/python/save_model.py
def _find_op( graph: ops.Graph, op_name: Optional[str] ) -> Optional[ops.Operation]: """Finds the operation with `op_name`. Args: graph: The graph to find from. op_name: Name of the node. Returns: The operation that corresponds to `op_name`. Returns None iff op_name is an empty string or None. Raises: ValueError: `op_name` is malformed. """ if not op_name:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 01:09:50 UTC 2024 - 12.3K bytes - Viewed (0) -
tensorflow/cc/framework/scope.cc
} Scope Scope::WithOpNameImpl(const string& op_name) const { if (impl()->single_use_scope()) { UpdateStatus(errors::InvalidArgument("Cannot set op name ", op_name, " on this scope")); return *this; } return Scope(new Impl(*this, Impl::Tags::OpName(), impl()->name_, op_name)); } Scope Scope::WithControlDependencies(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 20.9K bytes - Viewed (0)