- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for op_def (0.19 sec)
-
tensorflow/c/c_api_experimental.cc
TF_Status* status) { const tensorflow::OpDef* op_def = nullptr; status->status = tensorflow::OpRegistry::Global()->LookUpOpDef(op_name, &op_def); if (!status->status.ok()) return nullptr; if (input_index >= op_def->input_arg_size() || input_index < 0) { status->status = tensorflow::errors::InvalidArgument(
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 29.4K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler_test.cc
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); TF_DeleteBuffer(op_buf);
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Thu Apr 13 22:30:58 GMT 2023 - 11.6K bytes - Viewed (0) -
tensorflow/c/experimental/grappler/grappler.cc
TF_SetStatus(status, TF_OK, ""); const tensorflow::OpDef* op_def_ptr = nullptr; absl::Status s = reinterpret_cast<tensorflow::FunctionLibraryDefinition*>(fn_lib) ->LookUpOpDef(name, &op_def_ptr); if (!s.ok()) { tsl::Set_TF_Status_from_Status(status, s); return; } s = tensorflow::MessageToBuffer(*op_def_ptr, buf); if (!s.ok()) {
C++ - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Sep 06 19:12:29 GMT 2023 - 15K bytes - Viewed (1) -
tensorflow/c/c_api_function_test.cc
// Test we can retrieve function OpDef from graph TF_Buffer* buffer = TF_NewBuffer(); TF_GraphGetOpDef(host_graph_, func_name_, buffer, s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); // Sanity check returned OpDef string data(static_cast<const char*>(buffer->data), buffer->length); OpDef op_def; op_def.ParseFromString(data); EXPECT_EQ(op_def.name(), func_name_);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6) -
tensorflow/c/eager/immediate_execution_operation.h
#include "tensorflow/c/tensor_interface.h" #include "tensorflow/core/framework/cancellation.h" #include "tensorflow/core/framework/device_attributes.pb.h" #include "tensorflow/core/framework/op_def.pb.h" #include "tensorflow/core/framework/types.pb.h" #include "tensorflow/core/platform/casts.h" #include "tensorflow/core/platform/status.h" #include "tensorflow/core/util/managed_stack_trace.h" struct TFE_Op;
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Sep 26 22:40:32 GMT 2022 - 3.6K bytes - Viewed (0) -
tensorflow/c/c_api.cc
TF_Buffer* output_op_def, TF_Status* status) { const OpDef* op_def; { mutex_lock l(graph->mu); status->status = graph->graph.op_registry()->LookUpOpDef(op_name, &op_def); if (!status->status.ok()) return; } status->status = MessageToBuffer(*op_def, output_op_def); } void TF_GraphVersions(TF_Graph* graph, TF_Buffer* output_version_def,
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
TF_Buffer* buffer = TF_NewBuffer(); TF_GraphGetOpDef(graph, "Add", buffer, status); 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); string actual_string(reinterpret_cast<const char*>(buffer->data), buffer->length);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/c_test_util.cc
#include "tensorflow/c/c_test_util.h" #include "tensorflow/c/c_api_experimental.h" #include "tensorflow/core/framework/function.pb.h" #include "tensorflow/core/framework/op_def.pb.h" #include "tensorflow/core/framework/tensor.pb.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/strcat.h" #include "tensorflow/core/public/session_options.h"
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:52 GMT 2021 - 17.8K bytes - Viewed (2) -
tensorflow/c/c_api.h
// Returns the serialized OpDef proto with name `op_name`, or a bad status if no // such op exists. This can return OpDefs of functions copied into the graph. TF_CAPI_EXPORT extern void TF_GraphGetOpDef(TF_Graph* graph, const char* op_name, TF_Buffer* output_op_def, TF_Status* status);
C - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
.idea/dictionaries/svyatoslav_kuzmich.xml
XML - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Tue Oct 12 05:42:01 GMT 2021 - 594 bytes - Viewed (0)