- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 41 for name (0.16 sec)
-
tensorflow/c/eager/dlpack.cc
tensorflow::DeviceNameUtils::ParseFullName(device_name, &parsed_name); std::string device_type = parsed_name.type; int device_id = 0; if (parsed_name.has_id) { device_id = parsed_name.id; } ctx.device_id = device_id; if (device_type == "CPU") { ctx.device_type = DLDeviceType::kDLCPU; } else if (device_type == "GPU") { #if TENSORFLOW_USE_ROCM
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/experimental/grappler/grappler.h
TF_CAPI_EXPORT extern void TF_GetInputPropertiesListSize( TF_GraphProperties* graph_properties, const char* name, int* num_values, TF_Status* status); // Get the size of output OpInfo::TensorProperties given node name. TF_CAPI_EXPORT extern void TF_GetOutputPropertiesListSize( TF_GraphProperties* graph_properties, const char* name, int* num_values, TF_Status* status);
C - Registered: Tue Feb 27 12:39:08 GMT 2024 - Last Modified: Wed Aug 03 18:08:43 GMT 2022 - 12.5K bytes - Viewed (0) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
tensorflow::NameAttrList func_name; func_name.set_name(string(value, value + length)); op_->node_builder.Attr(attr_name, func_name); return absl::OkStatus(); } Status SetAttrTensor(const char* attr_name, AbstractTensorInterface* tensor) override { return tensorflow::errors::Unimplemented( "SetAttrTensor has not been implemented yet."); }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 15.4K bytes - Viewed (1) -
tensorflow/c/experimental/gradients/math_grad.cc
std::string name = "Conj_Log1p_Grad_X"; TF_RETURN_IF_ERROR(SafeConj(ctx, X, &temp_output, name.c_str())); AbstractTensorHandlePtr Conj_X(temp_output); // Creates Ones name = "OnesLike_Log1p_Grad_X"; TF_RETURN_IF_ERROR(OnesLike(ctx, Conj_X.get(), &temp_output, name.c_str())); AbstractTensorHandlePtr Ones_X(temp_output); name = "Add_Log1p_Grad_X";
C++ - Registered: Tue Mar 26 12:39:09 GMT 2024 - Last Modified: Wed Feb 28 13:53:47 GMT 2024 - 15.2K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
} } void TFE_OpSetAttrInt(TFE_Op* op, const char* attr_name, int64_t value) { auto s = tensorflow::unwrap(op)->SetAttrInt(attr_name, value); if (!s.ok()) { LOG(WARNING) << "Unable to set attribute: " << attr_name; } } void TFE_OpSetAttrFloat(TFE_Op* op, const char* attr_name, float value) { auto s = tensorflow::unwrap(op)->SetAttrFloat(attr_name, value); if (!s.ok()) {
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 12 20:00:09 GMT 2024 - 43.9K bytes - Viewed (2) -
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/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/BUILD
], ) cc_library( name = "abstract_op_attrs", hdrs = ["abstract_op_attrs.h"], visibility = [ "//tensorflow:internal", ], deps = [ "//tensorflow/core:lib", "//tensorflow/core:protos_all_cc", "@com_google_absl//absl/container:inlined_vector", ], ) cc_library( name = "abstract_operation", hdrs = ["abstract_operation.h"],
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Apr 11 23:52:39 GMT 2024 - 33.3K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_context.h
// instantiation). virtual Status AddFunctionDefWithStackTraces( const FunctionDef& fdef, const StackTracesMap& stack_traces) = 0; // Find and return a added function by its name. virtual const FunctionDef* FindFunctionDef(const string& name) const = 0; // Find and return a function record added by its name. virtual core::RefCountPtr<FunctionRecord> FindRecord(
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 06 08:34:00 GMT 2023 - 12.3K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc
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)