- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for it (0.25 sec)
-
tensorflow/c/eager/c_api_experimental.h
// 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 // than separately calling it because if the existing op has the same // `raw_device_name`, it skips parsing and just leave as it is. TF_CAPI_EXPORT extern void TFE_OpReset(TFE_Op* op_to_reset,
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.h
// `run_metadata`) are valid. // // - `run_options` may be NULL, in which case it will be ignored; or // non-NULL, in which case it must point to a `TF_Buffer` containing the // serialized representation of a `RunOptions` protocol buffer. // - `run_metadata` may be NULL, in which case it will be ignored; or // non-NULL, in which case it must point to an empty, freshly allocated
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
const char* device_type); // Create a ServerDef with the given `job_name` and add `num_tasks` tasks in it. tensorflow::ServerDef GetServerDef(const tensorflow::string& job_name, int num_tasks); // Create a ServerDef with job name "localhost" and add `num_tasks` tasks in it. tensorflow::ServerDef GetServerDef(int num_tasks);
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/eager/tape.h
for (auto it : op_it->second.input_tensor_id) { auto count_it = result.tensor_usage_counts.find(it); if (count_it != result.tensor_usage_counts.end()) { count_it->second++; } else { result.tensor_usage_counts[it] = 1; if (tensor_tape.find(it) != tensor_tape.end()) { tensor_stack.push_back(it); } } }
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/c_test.c
// just nice to know that it compiles. void* create(TF_OpKernelConstruction* ctx) { TF_DataType type; TF_Status* s = TF_NewStatus(); TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s); TF_DeleteStatus(s); return NULL; } // A compute function. This will never actually get called in this test, it's // just nice to know that it compiles.
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_context.h
// Returns whether `device_name` is registered as a custom device. virtual bool IsCustomDevice(const string& device_name) = 0; // Register a custom device. It will return error is the device name is // already registered. // TODO(tfrt-devs): Remove this method. Let caller register it directly into // CustomDeviceOpHandler. virtual Status RegisterCustomDevice(const string& name,
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/modular_filesystem.h
// for `Env::Default()` altogether, but that's a different project, not in // scope for now. I'm just mentioning this here as that transition will mean // removal of the registration part from `Env` and adding it here instead: we // will need tables to hold for each scheme the function tables that implement // the needed functionality instead of the current `FileSystemRegistry` code in // `core/platform/env.cc`.
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)