- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 75 for op_registry (0.36 sec)
-
tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export.cc
using ::tensorflow::FunctionDefLibrary; using ::tensorflow::FunctionLibraryDefinition; using ::tensorflow::Graph; using ::tensorflow::GraphDef; using ::tensorflow::Node; using ::tensorflow::NodeDef; using ::tensorflow::OpRegistry; using ::tensorflow::SaverDef; using ::tensorflow::quantization::ExportedModel; using ::tensorflow::quantization::RunPasses; using ::tensorflow::quantization::UnfreezeConstantsAndSaveVariables;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 20 11:11:25 UTC 2024 - 12.3K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_compile_util.cc
// TODO(b/74182462): We implement this by creating a new dummy Graph including // _Arg nodes, and let CompileGraph walk it. This could be optimized. std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); // First create the actual node we care about computing. TF_ASSIGN_OR_RETURN(Node * main_node, graph->AddNode(node_def)); // Create dummy _Arg nodes. Link these to `node` and also via a control
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 21 09:53:30 UTC 2024 - 4.6K bytes - Viewed (0) -
tensorflow/compiler/jit/xla_kernel_creator_test.cc
FunctionDefLibrary proto; for (const auto& fdef : flib) { *(proto.add_function()) = fdef; } lib_def_ = std::make_unique<FunctionLibraryDefinition>( OpRegistry::Global(), proto); OptimizerOptions opts; device_mgr_ = std::make_unique<StaticDeviceMgr>(std::move(devices)); pflr_ = std::make_unique<ProcessFunctionLibraryRuntime>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 16 01:39:55 UTC 2023 - 5.7K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
return nullptr; } // The returned string is owned by OpRegistry, so liveness is not a concern. return input_arg.number_attr().c_str(); } int TF_OpIsStateful(const char* op_type, TF_Status* status) { const tensorflow::OpRegistrationData* op_reg_data; status->status = tensorflow::OpRegistry::Global()->LookUp(op_type, &op_reg_data); if (!status->status.ok()) { return 0; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 15 03:35:10 UTC 2024 - 29.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc
mlir::cast<mlir::StringAttr>(dict_attr.get("outputs")) .getValue() .split(output_names, ',', /*MaxSplit=*/-1, /*KeepEmpty=*/false); } auto graph = std::make_unique<Graph>(OpRegistry::Global()); // Extract version info. VersionDef versions; auto module = function->getParentOfType<mlir::ModuleOp>(); if (mlir::succeeded(ExtractTfVersions(module, &versions))) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc
mlir::cast<mlir::StringAttr>(dict_attr.get("outputs")) .getValue() .split(output_names, ',', /*MaxSplit=*/-1, /*KeepEmpty=*/false); } auto graph = std::make_unique<Graph>(OpRegistry::Global()); // Extract version info. VersionDef versions; auto module = function->getParentOfType<mlir::ModuleOp>(); if (mlir::succeeded(ExtractTfVersions(module, &versions))) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 23:04:51 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/compiler/jit/pjrt_compile_util_test.cc
#include "tensorflow/core/platform/status.h" #include "tensorflow/core/platform/statusor.h" namespace tensorflow { namespace { StatusOr<std::unique_ptr<Graph>> SampleGraphAddXY() { std::unique_ptr<Graph> graph(new Graph(OpRegistry::Global())); Scope scope = Scope::NewRootScope().ExitOnError(); auto a = ops::_Arg(scope.WithOpName("A"), DT_INT32, 0); auto b = ops::_Arg(scope.WithOpName("B"), DT_INT32, 1);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Aug 21 23:21:57 UTC 2023 - 4.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/python/tf_tfl_flatbuffer_helpers.cc
} // Make sure the op is not already registered. If registered continue. const OpRegistrationData* op_reg = OpRegistry::Global()->LookUp(opdef.name()); if (op_reg) continue; OpRegistry::Global()->Register( [opdef](OpRegistrationData* op_reg_data) -> absl::Status { *op_reg_data = OpRegistrationData(opdef); return absl::OkStatus();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun May 12 12:39:37 UTC 2024 - 17.3K bytes - Viewed (0) -
tensorflow/c/kernels/summary_op_test.cc
error::INVALID_ARGUMENT); } TEST(ScalarSummaryOpTest, IsRegistered) { const OpRegistrationData* reg; TF_CHECK_OK(OpRegistry::Global()->LookUp("ScalarSummary", ®)); } } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Jul 18 15:10:51 UTC 2022 - 6.7K bytes - Viewed (0) -
tensorflow/c/ops.cc
void TF_RegisterOpDefinition(TF_OpDefinitionBuilder* builder, TF_Status* status) { auto* cc_builder = reinterpret_cast<OpDefBuilder*>(builder); TF_SetStatus(status, TF_OK, ""); ::tensorflow::OpRegistry::Global()->Register( [cc_builder](::tensorflow::OpRegistrationData* op_reg_data) -> Status { Status result = cc_builder->Finalize(op_reg_data); delete cc_builder; return result; }); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 28 22:41:35 UTC 2022 - 10.9K bytes - Viewed (0)