- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for signature (0.2 sec)
-
tensorflow/c/eager/c_api_distributed_test.cc
GraphErrorInjectionPass::enabled_ = false; } string VariableAddFunctionWithGraphError() { string signature = VariableAddFunctionSignature(); // Replace the node 'read0' with 'read0_maybe_with_graph_error', so that the // error injecting pass can identify and introduce graph pass errors. signature = std::regex_replace(signature, std::regex("read0"), "read0_maybe_with_graph_error");
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 23.5K bytes - Viewed (0) -
tensorflow/c/c_api_function.cc
if (TF_GetCode(status) != TF_OK) return; tensorflow::GradientDef gdef; gdef.set_function_name(func->record->fdef().signature().name()); gdef.set_gradient_func(grad->record->fdef().signature().name()); status->status = g->graph.AddGradientDef(std::move(gdef)); } int TF_GraphNumFunctions(TF_Graph* g) { tensorflow::mutex_lock l(g->mu);
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 13.6K bytes - Viewed (2) -
tensorflow/c/eager/dlpack.cc
return tensorflow::errors::InvalidArgument("Unsupported Type Codes: ", dtype.code); } } // Wraps the deleter function of DLManagedTensor to match the function signature // TFE_NewTensorHandleFromDeviceMemory. void DeallocatorWrapperFunc(void* data, size_t len, void* dlmt_vptr) { TFE_CallDLManagedTensorDeleter(dlmt_vptr); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Feb 15 09:49:45 GMT 2024 - 12.8K bytes - Viewed (0) -
tensorflow/c/c_test_util.cc
std::vector<string> names; auto functions = graph_def.library().function(); names.reserve(functions.size()); for (const tensorflow::FunctionDef& func : functions) { names.push_back(func.signature().name()); } std::sort(names.begin(), names.end()); return names; } CSession::CSession(TF_Graph* graph, TF_Status* s, bool use_XLA) { TF_SessionOptions* opts = TF_NewSessionOptions();
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Oct 15 03:16:52 GMT 2021 - 17.8K bytes - Viewed (2) -
tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc
const std::string& filename, int64_t file_signature) { absl::MutexLock lock(&mu_); auto it = file_signature_map_.find(filename); if (it != file_signature_map_.end()) { if (it->second == file_signature) { return true; } // Remove the file from cache if the signatures don't match. RemoveFile_Locked(filename); it->second = file_signature; return false; }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 16 01:39:09 GMT 2020 - 11.1K bytes - Viewed (0) -
tensorflow/c/c_api_function_test.cc
ASSERT_EQ(func_->record->fdef().signature().attr().size(), 2); EXPECT_EQ(func_->record->fdef().signature().attr(0).name(), "v1"); EXPECT_EQ(func_->record->fdef().signature().attr(0).type(), "int"); EXPECT_EQ(func_->record->fdef().signature().attr(1).name(), "v2"); EXPECT_EQ(func_->record->fdef().signature().attr(1).type(), "int"); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6) -
tensorflow/c/eager/c_api_remote_test_util.cc
using ::tensorflow::string; string MatMulFunction(const string& matmul_device) { tensorflow::FunctionDef def; CHECK(tensorflow::protobuf::TextFormat::ParseFromString( absl::StrCat(" signature {" " name: 'MatMulFunction'" " input_arg {" " name: 'a'" " type: DT_FLOAT" " }"
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Dec 11 22:56:03 GMT 2020 - 9.1K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
CSession csession(session); // Retrieve the regression signature from meta graph def. const auto signature_def_map = metagraph_def.signature_def(); const auto signature_def = signature_def_map.at("regress_x_to_y"); const string input_name = signature_def.inputs().at(tensorflow::kRegressInputs).name(); const string output_name = signature_def.outputs().at(tensorflow::kRegressOutputs).name();
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 96.9K bytes - Viewed (3) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
if (TF_GetCode(status) != TF_OK) return -1; if (!gcs_file->file_block_cache->ValidateAndUpdateFileSignature( path, stat.generation_number)) { TF_VLog( 1, "File signature has been changed. Refreshing the cache. Path: %s", path.c_str()); } read = gcs_file->file_block_cache->Read(path, offset, n, buffer, status); } else {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Aug 23 06:55:53 GMT 2023 - 46.9K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test.cc
Name("TestCommUnavailable").Device(tensorflow::DEVICE_DEFAULT), TestUnavailableErrorOp); string FunctionWithErrorOp(const tensorflow::StringPiece op_name) { const std::string& func_str = " signature {" " name: 'FunctionWith__OP_NAME__'" " output_arg {" " name: 'out'" " type: DT_STRING" " }" " }" " node_def {"
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1)