- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for strlen (0.26 sec)
-
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 23 12:39:09 GMT 2024 - Last Modified: Wed Jan 15 17:51:26 GMT 2020 - 2.8K bytes - Viewed (0) -
tensorflow/c/env_test.cc
ASSERT_TF_OK(s) << "NewWritableFile failed for " << filepath << ": " << TF_Message(s); const char* data = "Hello, world!\n"; TF_AppendWritableFile(handle, data, strlen(data), s); ASSERT_TF_OK(s) << "TF_AppendWritableFile failed to append data to file at " << filepath << ": " << TF_Message(s); TF_CloseWritableFile(handle, s);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Dec 10 20:52:48 GMT 2018 - 4.2K bytes - Viewed (0) -
ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch
- ? (__string2_1bptr_p (src) && strlen (src) + 1 <= 8 \ - ? __builtin_strcpy (dest, src) + strlen (src) \ - : ((char *) (__mempcpy) (dest, src, strlen (src) + 1) \ - - 1)) \ - : __stpcpy (dest, src))) -# else -# define __stpcpy(dest, src) \ - (__extension__ (__builtin_constant_p (src) \ - ? (__string2_1bptr_p (src) && strlen (src) + 1 <= 8 \
Others - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Mon Sep 18 14:52:45 GMT 2023 - 42.9K bytes - Viewed (1) -
tensorflow/c/eager/c_api_experimental.cc
void TFE_SetLogicalCpuDevices(TFE_Context* ctx, int num_cpus, const char* prefix, TF_Status* status) { std::vector<std::unique_ptr<tensorflow::Device>> devices; if (prefix == nullptr || strlen(prefix) == 0) prefix = "/job:localhost/replica:0/task:0"; tensorflow::SessionOptions sess_options; (*sess_options.config.mutable_device_count())["CPU"] = num_cpus; status->status =
C++ - Registered: Tue Apr 23 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.cc
std::strncpy(buffer, "VALID", BUFFER_SIZE); TFE_OpSetAttrString(op, "padding", buffer, std::strlen(buffer)); // Overwriting value in "buffer", should be fine since TFE_Op // shouldn't be holding on to it. std::strncpy(buffer, "NHWC", BUFFER_SIZE); TFE_OpSetAttrString(op, "data_format", buffer, std::strlen(buffer)); TFE_OpSetAttrType(op, "T", TF_FLOAT);
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1) -
tensorflow/c/c_api_function_test.cc
TF_Operation** op) { TF_OperationDescription* desc = TF_NewOperation(graph, "Placeholder", name); TF_SetAttrType(desc, "dtype", TF_INT32); TF_SetAttrString(desc, attr_name, attr_value, strlen(attr_value)); *op = TF_FinishOperation(desc, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); ASSERT_NE(*op, nullptr); } TEST_F(CApiFunctionTest, GraphToFunctionDefWithArgAttr) {
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6) -
CONTRIBUTING.md
```bash pip install pylint pylint --rcfile=tensorflow/tools/ci_build/pylintrc myfile.py ``` Note `pylint --rcfile=tensorflow/tools/ci_build/pylintrc` should run from the top level tensorflow directory. #### Coding style for other languages * [Google Java Style Guide](https://google.github.io/styleguide/javaguide.html)
Plain Text - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Mar 21 11:45:51 GMT 2024 - 15.6K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc
TF_SetStatus(status, TF_OK, ""); } } close(fd); } static void CreateDir(const TF_Filesystem* filesystem, const char* path, TF_Status* status) { if (strlen(path) == 0) TF_SetStatus(status, TF_ALREADY_EXISTS, "already exists"); else if (mkdir(path, /*mode=*/0755) != 0) TF_SetStatusFromIOError(status, errno, path); else TF_SetStatus(status, TF_OK, ""); }
C++ - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Sun Mar 24 20:08:23 GMT 2024 - 15.8K bytes - Viewed (0) -
RELEASE.md
* `tf.keras`: * Adds `tf.compat.v1.keras.utils.get_or_create_layer` to aid migration to TF2 by enabling tracking of nested keras models created in TF1-style, when used with the `tf.compat.v1.keras.utils.track_tf1_style_variables` decorator. * Added a `tf.keras.layers.experimental.preprocessing.HashedCrossing` layer which applies the hashing trick to the concatenation of crossed
Plain Text - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Wed Apr 03 20:27:38 GMT 2024 - 727.4K bytes - Viewed (8) -
.github/workflows/stale-issues.yml
exempt-issue-labels: 'override-stale' #Comma separated list of labels that can be assigned to PRs to exclude them from being marked as stale exempt-pr-labels: "override-stale" #Limit the No. of API calls in one run default value is 30. operations-per-run: 1000 days-before-issue-stale: 180 days-before-issue-close: 365
Others - Registered: Tue Apr 23 12:39:09 GMT 2024 - Last Modified: Thu Nov 23 20:04:38 GMT 2023 - 4.1K bytes - Viewed (0)