- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 41 for op_registry (0.21 sec)
-
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/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/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) -
tensorflow/compiler/jit/device_executable_persistor_test.cc
xla::ClientLibrary::LocalClientOrDie()); TF_ASSERT_OK(CreatePjRtCompilerClient()); XlaOpRegistry::RegisterCompilationKernels(); flib_def_ = std::make_unique<FunctionLibraryDefinition>( OpRegistry::Global(), FunctionDefLibrary()); cache_dir_ = testing::TmpDir(); TF_ASSERT_OK_AND_ASSIGN(compilation_result_add_, BuildSampleCompilationResult()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 12 06:33:33 UTC 2024 - 25.9K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler_test.cc
string actual_string(reinterpret_cast<const char*>(op_buf->data), op_buf->length); ASSERT_EQ(TF_OK, TF_GetCode(status)); const OpDef* expected_op_def; TF_ASSERT_OK(OpRegistry::Global()->LookUpOpDef("Add", &expected_op_def)); string expected_serialized; expected_op_def->SerializeToString(&expected_serialized); EXPECT_EQ(expected_serialized, actual_string); TF_DeleteBuffer(g_buf);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 13 22:30:58 UTC 2023 - 11.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/transforms/lift_tflite_flex_ops.cc
"TF op names in 'custom_code' and 'custom_option' don't match"); } const tensorflow::OpDef* op_def; // This will fail only if the op is not a registered TensorFlow op. if (!tensorflow::OpRegistry::Global() ->LookUpOpDef(parsed_op_name, &op_def) .ok()) { op->emitError() << "can't find registered TF op for " << parsed_op_name
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph_test.cc
tensorflow::FunctionDefLibrary fdef; *(fdef.add_function()) = empty_function; tensorflow::FunctionLibraryDefinition flib_def( tensorflow::OpRegistry::Global(), fdef); OpInputList guaranteed_constants; NameAttrList function; function.set_name("empty"); FunctionToHloArgs function_to_hlo_args = {&function,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 13 08:08:57 UTC 2024 - 11.7K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler.cc
tsl::Set_TF_Status_from_Status(status, s); return nullptr; } return reinterpret_cast<TF_FunctionLibraryDefinition*>( new tensorflow::FunctionLibraryDefinition( tensorflow::OpRegistry::Global(), graph_def.library())); } void TF_DeleteFunctionLibraryDefinition(TF_FunctionLibraryDefinition* fn_lib) { if (fn_lib == nullptr) return;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Sep 06 19:12:29 UTC 2023 - 15K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_tf_dialect_op.cc
TF_ASSIGN_OR_RETURN(auto op_name, GetTensorFlowOpName(inst->getName().getStringRef())); const tensorflow::OpRegistrationData* op_reg_data = tensorflow::OpRegistry::Global()->LookUp(op_name.str()); TF_RETURN_IF_ERROR(GetAttrValuesFromOperation(inst, name, op_reg_data, ignore_unregistered_attrs,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 11.1K bytes - Viewed (0)