- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for hasn (0.18 sec)
-
tensorflow/c/eager/c_api_test.cc
const int num_devices = TF_DeviceListCount(devices); bool has_gpu0 = false; bool has_gpu1 = false; for (int i = 0; i < num_devices; ++i) { const char* dev = TF_DeviceListName(devices, i, status.get()); ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get()); string device_name(dev); if (device_name.find("GPU:0") != string::npos) { has_gpu0 = true; }
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1) -
tensorflow/c/c_api_test.cc
EXPECT_EQ(attr_value.i(), 2); // Placeholder oper now has a consumer. ASSERT_EQ(1, TF_OperationOutputNumConsumers(TF_Output{feed, 0})); TF_Input feed_port; EXPECT_EQ(1, TF_OperationOutputConsumers(TF_Output{feed, 0}, &feed_port, 1)); EXPECT_EQ(add, feed_port.oper); EXPECT_EQ(0, feed_port.index); // The scalar const oper also has a consumer. ASSERT_EQ(1, TF_OperationOutputNumConsumers(TF_Output{three, 0}));
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/c_api_function_test.cc
#include "tensorflow/core/framework/common_shape_fns.h" #include "tensorflow/core/framework/function.h" #include "tensorflow/core/framework/function.pb.h" #include "tensorflow/core/framework/op_def.pb.h" #include "tensorflow/core/lib/hash/hash.h" #include "tensorflow/core/lib/strings/proto_serialization.h" #include "tensorflow/core/platform/logging.h" #include "tensorflow/core/platform/status.h" #include "tensorflow/core/platform/str_util.h"
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
/// argument list with the out arguments. We only use the return type for an out /// parameter if that is a plain C type, as this ensures ABI compatibility /// (returning structures has issues in case compiler options affect /// optimizations such as RVO). If a status needs to be returned from these /// methods, the last argument is always a `TF_Status *` (or an array of such
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 17:36:54 GMT 2022 - 53.1K bytes - Viewed (0) -
tensorflow/BUILD
# with clang. It does not imply that CUDA support has been enabled. alias( name = "is_cuda_compiler_clang", actual = if_oss( "@local_config_cuda//:is_cuda_compiler_clang", "@local_config_cuda//cuda:TRUE", ), ) # Config setting that is satisfied when CUDA device code should be compiled # with nvcc. It does not imply that CUDA support has been enabled. alias(
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Tue Apr 09 18:15:11 GMT 2024 - 53.4K bytes - Viewed (8) -
.bazelrc
# _USE_MATH_DEFINES is defined. build:windows --copt=/D_USE_MATH_DEFINES build:windows --host_copt=/D_USE_MATH_DEFINES # Windows has a relatively short command line limit, which TF has begun to hit. # See https://docs.bazel.build/versions/main/windows.html build:windows --features=compiler_param_file build:windows --features=archive_param_file
Plain Text - Registered: Tue May 07 12:40:20 GMT 2024 - Last Modified: Thu May 02 19:34:20 GMT 2024 - 52.8K bytes - Viewed (2) -
configure.py
raising an error and quitting. Returns: [String] The value of var_name after querying for input. Raises: UserInputError: if a query has been attempted n_ask_attempts times without success, assume that the user has made a scripting error, and will continue to provide invalid input. Raise the error to avoid infinitely looping. """ default = environ_cp.get(var_name) or var_default
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) -
tensorflow/c/c_api.h
// 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). // append_hash_to_fn_name - Must be 0 or 1. If set to 1, the actual name
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)