- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for name (0.38 sec)
-
tensorflow/c/c_api.h
// converted to TF_Function. // fn_name - the name of the new TF_Function. Should match the operation // name (OpDef.name) regexp [A-Z][A-Za-z0-9_.\\-/]*. // If `append_hash_to_fn_name` is false, `fn_name` must be distinct // from other function and operation names (at least those // registered in graphs where this function will be used).
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3) -
tensorflow/c/eager/c_api_test_util.h
// Create a variable handle with name `variable_name` on a device with name // `device_name`. TFE_TensorHandle* CreateVarHandle(TFE_Context* ctx, const tensorflow::string& device_name, const tensorflow::string& variable_name); // Create a variable with value `value` and name `variable_name` on a device // with name `device_name`.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Jul 17 23:43:59 GMT 2023 - 7.7K bytes - Viewed (0) -
tensorflow/c/c_test.c
return 1; } char file_name[100]; time_t t = time(NULL); snprintf(file_name, sizeof(file_name), "test-%d-%ld.txt", getpid(), t); size_t length = 2 + strlen(path) + strlen(file_name); char* full_path = malloc(length); snprintf(full_path, length, "%s/%s", path, file_name); TF_WritableFileHandle* h; TF_Status* status = TF_NewStatus();
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Apr 24 20:50:35 GMT 2024 - 2.8K bytes - Viewed (0) -
tensorflow/c/eager/immediate_execution_distributed_manager.h
// execution. virtual Status EnableCollectiveOps(const ServerDef& server_def) = 0; // Check if the remote task is alive. virtual Status CheckRemoteAlive(const std::string& remote_task_name, bool* is_alive) = 0; // Get pointer to the coordination service agent instance. virtual tsl::CoordinationServiceAgent* GetCoordinationServiceAgent() = 0; };
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Feb 21 22:37:46 GMT 2024 - 2.9K bytes - Viewed (0) -
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/checkpoint_reader.h
// Attempts to look up the tensor named "name" and stores the found result in // "out_tensor". void GetTensor(const string& name, std::unique_ptr<tensorflow::Tensor>* out_tensor, TF_Status* out_status) const; private: // Uses "v2_reader_" to build "var name -> shape" and "var name -> data type" // maps; both owned by caller.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 12 08:49:52 GMT 2023 - 3.1K bytes - Viewed (0) -
tensorflow/c/c_api_internal.h
std::vector<TF_Output> return_tensors; std::vector<TF_Operation*> return_nodes; std::vector<const char*> missing_unused_key_names; std::vector<int> missing_unused_key_indexes; // Backing memory for missing_unused_key_names values. std::vector<tensorflow::string> missing_unused_key_names_data; }; struct TF_DeviceList { std::vector<tensorflow::DeviceAttributes> response; }; struct TF_Function {
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Sat May 13 00:49:12 GMT 2023 - 7.6K bytes - Viewed (0) -
tensorflow/c/eager/tape.h
out_gradients.push_back(nullptr); if (build_default_zeros_grads) { auto func_name_it = FunctionsAcceptingNoneForIndicesMap()->find(trace.op_type); if (func_name_it == FunctionsAcceptingNoneForIndicesMap()->end() || func_name_it->second.find(i) == func_name_it->second.end()) { zero_indices.push_back(i); } } } else {
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 02 12:40:29 GMT 2024 - 47.2K bytes - Viewed (1) -
tensorflow/c/eager/unified_api_testutil.h
#include "tensorflow/c/tf_tensor.h" #include "tensorflow/core/platform/status.h" namespace tensorflow { // Builds and returns a `TracingContext` using the default tracing impl. AbstractContext* BuildFunction(const char* fn_name); // Creates parameters (placeholders) in the tracing `ctx` using the shape and // dtype of `inputs`. Status CreateParamsForInputs(AbstractContext* ctx,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Feb 27 13:57:45 GMT 2024 - 4K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/modular_filesystem.h
std::string TranslateName(const std::string& name) const override; void FlushCaches(TransactionToken* token) override; Status SetOption(const std::string& name, const std::vector<string>& values) override; Status SetOption(const std::string& name, const std::vector<int64_t>& values) override; Status SetOption(const std::string& name,
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 12 08:49:52 GMT 2023 - 8.9K bytes - Viewed (0)