- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for names (0.16 sec)
-
tensorflow/c/c_api.cc
std::vector<string> input_names(ninputs); std::vector<string> output_names(noutputs); std::vector<string> target_oper_names(ntargets); for (int i = 0; i < ninputs; ++i) { input_names[i] = c_input_names[i]; } for (int i = 0; i < noutputs; ++i) { output_names[i] = c_output_names[i]; } for (int i = 0; i < ntargets; ++i) { target_oper_names[i] = c_target_oper_names[i]; }
C++ - Registered: Tue Apr 30 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_OperationDescription* init(string type) { // Construct op_name to match the name used by REGISTER_OP in the // ATTR_TEST_REGISTER calls above. string op_name = "CApiAttributesTestOp"; if (type.find("list(") == 0) { op_name += "List"; type = type.replace(0, 5, ""); type = type.replace(type.size() - 1, 1, ""); } op_name += type; return TF_NewOperation(
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/eager/c_api_experimental.cc
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(); void* data = tensorflow::port::Malloc(op_names_str.length()); op_names_str.copy(static_cast<char*>(data), op_names_str.length(), 0); buf->data = data;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 11 23:52:39 GMT 2024 - 35.9K bytes - Viewed (3) -
tensorflow/c/c_api_function.cc
// Process output names. std::vector<string> output_names_vec; if (output_names) { output_names_vec.reserve(noutputs); for (int i = 0; i < noutputs; ++i) { output_names_vec.push_back(string(output_names[i])); } } // Process control output names. std::vector<string> control_output_names_vec; if (control_output_names) {
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/BUILD
tf_kernel_library( name = "test_op_kernel", srcs = ["test_op.cc"], deps = [ "//tensorflow/core:framework", "//tensorflow/core:lib", ], alwayslink = 1, ) tf_cuda_cc_test( name = "env_test", size = "medium", srcs = ["env_test.cc"], linkopts = select({ "//tensorflow:macos": ["-headerpad_max_install_names"],
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Mar 27 18:00:18 GMT 2024 - 30.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_test_util.cc
} tensorflow::ServerDef GetServerDef(const string& job_name, int num_tasks) { tensorflow::ServerDef server_def; server_def.set_protocol("grpc"); server_def.set_job_name(job_name); server_def.set_task_index(0); tensorflow::ClusterDef* cluster_def = server_def.mutable_cluster(); tensorflow::JobDef* job_def = cluster_def->add_job(); job_def->set_name(job_name); for (int i = 0; i < num_tasks; i++) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 23.5K bytes - Viewed (2) -
tensorflow/c/eager/c_api_experimental.h
extern "C" { #endif // Resets `op_to_reset` with `op_or_function_name` and `raw_device_name`. This // is for performance optimization by reusing an exiting unused op rather than // creating a new op every time. If `raw_device_name` is `NULL` or empty, it // does not set the device name. If it's not `NULL`, then it attempts to parse // and set the device name. It's effectively `TFE_OpSetDevice`, but it is faster
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 39.5K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
std::set<std::string> attr_names; }; TF_AttrBuilder* TF_NewAttrBuilder(const char* op_name) { return new TF_AttrBuilder(op_name); } void TF_DeleteAttrBuilder(TF_AttrBuilder* builder) { delete builder; } void TF_AttrBuilderSetType(TF_AttrBuilder* builder, const char* attr_name, TF_DataType value) { auto iter = builder->attr_names.insert(attr_name).first;
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 03:35:10 GMT 2024 - 29.4K bytes - Viewed (0) -
.github/workflows/update-rbe.yml
# to reference the most recent versions of the SIG Build Docker images. name: Update RBE Configs on: workflow_dispatch: permissions: contents: read jobs: rbe: name: Update RBE Configs runs-on: ubuntu-latest if: github.repository == 'tensorflow/tensorflow' # Don't do this in forks steps: - name: Checkout code uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
Others - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Wed Apr 10 15:40:34 GMT 2024 - 7.2K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.cc
underlying_devices_[component_index], underlying_devices_[0])) { // Device names are from different address spaces, or we can't figure out // whether they are, so we'll fully-qualify everything. return underlying_devices_; } } std::vector<std::string> local_names; local_names.reserve(underlying_devices_.size()); for (const DeviceNameUtils::ParsedName& parsed_component :
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri Feb 09 07:47:20 GMT 2024 - 25.4K bytes - Viewed (1)