- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 99 for op_names (0.14 sec)
-
tensorflow/cc/framework/fuzzing/cc_op_fuzz_gen_main.cc
std::vector<string> op_names) { OpList ops; absl::StatusOr<ApiDefMap> api_def_map = LoadOpsAndApiDefs(ops, false, api_def_dirs); TF_CHECK_OK(api_def_map.status()); Env* env = Env::Default(); absl::Status status; std::unique_ptr<WritableFile> fuzz_file = nullptr; for (const OpDef& op_def : ops.op()) { if (std::find(op_names.begin(), op_names.end(), op_def.name()) == op_names.end())
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 11 10:53:49 UTC 2024 - 3.2K bytes - Viewed (0) -
tensorflow/c/experimental/ops/gen/common/path_config.cc
namespace generator { PathConfig::PathConfig(const string& output_dir, const string& source_dir, const string& api_dir_list, const std::vector<string> op_names) : output_path(output_dir), op_names(op_names) { api_dirs = str_util::Split(api_dir_list, ",", str_util::SkipEmpty()); // Decompose the directory components given the output/source directories. //
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 09:51:28 UTC 2024 - 2.6K 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/quantization/tensorflow/python/integration_test/quantize_model_test_base.py
counted only if the ops are named 'op_name' and has 'attr_val' if 'attr_name' is specified. """ op_count = 0 for op_name in op_names: # Check the main graph op_count += self._count_op_with_name_and_attribute( nodes=graphdef.node, op_name=op_name, attr_name=attr_name, attr_val=attr_val, get_op_name=get_op_name,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 21 08:51:46 UTC 2024 - 51.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.cc
} void TFE_GetExecutedOpNames(TFE_Context* ctx, TF_Buffer* buf, TF_Status* status) { const std::vector<std::string>& op_names = tensorflow::unwrap(ctx)->GetLoggedOpsTestonly(); std::ostringstream op_names_oss; for (const auto& op : op_names) { op_names_oss << op << ", "; } const std::string& op_names_str = op_names_oss.str();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 11 23:52:39 UTC 2024 - 35.9K bytes - Viewed (0) -
tensorflow/cc/framework/scope.cc
false /* copy_names */)); } 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)); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 05:57:22 UTC 2024 - 20.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
private: friend class GraphContext; // For access to op_. TF_Graph* g_; std::unique_ptr<TF_OperationDescription> op_; // Hold `op_type` and `op_name` till both are available since we need both // to build a graph operation. string op_type_; const char* op_name_ = nullptr; // TODO(srbs): Use this. string device_name_; }; // GraphContext wraps a TF_Graph modeling a single function and manages the
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 20:00:09 UTC 2024 - 15.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/tfl_stablehlo_pass.cc
namespace odml { static bool isDenseI64Array(llvm::StringRef op_name, llvm::StringRef field_name) { if (op_name == "stablehlo.broadcast" && field_name == "broadcast_sizes") return true; if (op_name == "stablehlo.broadcast_in_dim" && field_name == "broadcast_dimensions") return true; if ((op_name == "stablehlo.convolution" || op_name == "stablehlo.dynamic_conv") &&
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jan 24 06:08:43 UTC 2024 - 10.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc
attrs_[attr_name] = TypeAttr::get(mlir_type); return absl::OkStatus(); } Status MlirAbstractOp::SetOpName(const char* const op_name) { // TODO(aminim): should we use a location? if (op_name_) { return FailedPrecondition("SetOpName called on already built op."); } op_name_ = op_name; return absl::OkStatus(); } Status MlirAbstractOp::AddRef(Type type, Type* output_type) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.2K bytes - Viewed (0) -
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)