- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for device_ (0.16 sec)
-
tensorflow/c/eager/parallel_device/BUILD
# tensorflow/python:_pywrap_parallel_device. filegroup( name = "lib_headers", srcs = ["parallel_device_lib.h"], ) filegroup( name = "lib_sources", srcs = ["parallel_device_lib.cc"], ) filegroup( name = "device_headers", srcs = ["parallel_device.h"], ) filegroup( name = "device_sources", srcs = ["parallel_device.cc"], ) filegroup( name = "headers",
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 01 20:19:06 GMT 2024 - 4.8K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
const char* device_name, void* device_info, TF_Status* status) { // Fill in default values for optional functionality. if (device.pack == nullptr) { device.pack = &DefaultCustomDevicePack; } auto custom_device = std::make_unique<tensorflow::CustomDeviceAPI>( ctx, device, device_info, device_name);
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/c_api_test.cc
CHECK_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); LOG(INFO) << "Device " << i << " has name " << device_name << ", type " << device_type; if (string(device_type) == DEVICE_GPU) { return device_name; } } // No GPU device found. return ""; } string GPUDeviceName() { std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
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/api_template.__init__.py
if _os.path.exists(_plugin_dir): _ll.load_library(_plugin_dir) # Load Pluggable Device Library _ll.load_pluggable_device_library(_plugin_dir) if _os.getenv("TF_PLUGGABLE_DEVICE_LIBRARY_PATH", ""): _ll.load_pluggable_device_library( _os.getenv("TF_PLUGGABLE_DEVICE_LIBRARY_PATH") ) # Add Keras module aliases
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Mar 05 06:27:59 GMT 2024 - 6.7K bytes - Viewed (3) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
void Release() override { delete this; } Status Reset(const char* op, const char* raw_device_name) override { if (op_) { return errors::FailedPrecondition("Reset called on already built op."); } if (raw_device_name) { device_name_ = raw_device_name; } op_type_ = op; return absl::OkStatus(); } Status SetOpName(const char* const op_name) override {
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/eager/c_api_experimental.cc
// One of the inputs we're trying to pack is on a custom device. We'll let // the first custom device we see handle all of the packing. auto* custom_device_handle = tensorflow::down_cast<tensorflow::CustomDeviceTensorHandle*>( unwrapped_handle); tensorflow::ImmediateExecutionTensorHandle* result; status->status = custom_device_handle->device()->Pack(
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/BUILD
"//tensorflow/core:test_main", "@com_google_absl//absl/strings", ], ) cc_library( name = "custom_device_testutil", testonly = True, srcs = ["custom_device_testutil.cc"], hdrs = ["custom_device_testutil.h"], visibility = ["//tensorflow:internal"], deps = [ ":c_api", ":c_api_experimental", ":c_api_test_util",
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/c_api_experimental.cc
} void TF_AttrBuilderCheckCanRunOnDevice(TF_AttrBuilder* builder, const char* device_type, TF_Status* status) { status->status = tensorflow::FindKernelDef( tensorflow::DeviceType(device_type), builder->BuildNodeDef(), /* def = */ nullptr, /* kernel_class_name = */ nullptr); }
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) -
tensorflow/c/BUILD
srcs = ["c_api_experimental_test.cc"], data = [ "testdata/tf_record", "//tensorflow/c/experimental/stream_executor/test:test_pluggable_device.so", "//tensorflow/core/common_runtime/next_pluggable_device/c:test_next_pluggable_device_plugin.so", ], extra_copts = if_google(["-DTENSORFLOW_NO_SHARED_OBJECTS=1"]), 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) -
configure.py
Returns: string of native cuda compute capabilities, separated by comma. """ device_query_bin = os.path.join( environ_cp.get('CUDA_TOOLKIT_PATH'), 'extras/demo_suite/deviceQuery') if os.path.isfile(device_query_bin) and os.access(device_query_bin, os.X_OK): try: output = run_shell(device_query_bin).split('\n') pattern = re.compile('[0-9]*\\.[0-9]*')
Python - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Mon Apr 15 18:25:36 GMT 2024 - 53.8K bytes - Viewed (1)