- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for globals (0.2 sec)
-
tensorflow/c/eager/c_api_test.cc
TFE_ContextOptions* opts = TFE_NewContextOptions(); TFE_ContextOptionsSetAsync(opts, static_cast<unsigned char>(async)); TFE_ContextOptionsSetDevicePlacementPolicy(opts, global_policy); TFE_Context* ctx = TFE_NewContext(opts, status.get()); if (thread_policy != global_policy) { TFE_ContextSetThreadLocalDevicePlacementPolicy(ctx, thread_policy); } TFE_DeleteContextOptions(opts);
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/experimental/filesystem/modular_filesystem_test.cc
// loaded, we can only check for availability after all arguments have been // parsed. // // Furthermore, as `INSTANTIATE_TEST_SUITE_P` needs to be at global level and we // don't want to have a `std::vector<std::string>` at global level, we use a // static pointer to such a vector: we construct it via `SchemeVector()` below // and when tests are instantiated we process it using `GetSchemes()`.
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 20:25:58 GMT 2022 - 71K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
TF_Buffer* buffer = TF_NewBuffer(); TF_GraphGetOpDef(graph, "Add", buffer, status); ASSERT_EQ(TF_OK, TF_GetCode(status)); const OpDef* expected_op_def; TF_ASSERT_OK(OpRegistry::Global()->LookUpOpDef("Add", &expected_op_def)); string expected_serialized; expected_op_def->SerializeToString(&expected_serialized); string actual_string(reinterpret_cast<const char*>(buffer->data),
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/experimental/filesystem/filesystem_interface.h
/// will use the deallocator to free this memory once it no longer needs it. /// /// IMPORTANT: To maintain binary compatibility, the layout of this structure /// must not change! In the unlikely case that new global operations must be /// provided, add them at the end of the structure. typedef struct TF_FilesystemPluginInfo { size_t num_schemes; TF_FilesystemPluginOps* ops; void* (*plugin_memory_allocate)(size_t size);
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
# configure script unconditionally); otherwise if it is false or undefined, the # build is static and TensorFlow symbols (in Python only) are loaded into the # global symbol table in order to support op registration. This means that # projects building with Bazel and importing TensorFlow as a dependency will not # depend on libtensorflow_framework.so unless they opt in. tf_cc_shared_library(
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) -
configure.py
gcc_version = run_shell([gcc_env, '--version']).split() if gcc_version[0] in ('gcc', 'g++'): return gcc_env return None def main(): global _TF_WORKSPACE_ROOT global _TF_BAZELRC global _TF_CURRENT_BAZEL_VERSION parser = argparse.ArgumentParser() parser.add_argument( '--workspace', type=str,
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) -
.bazelrc
build:ios_fat --config=ios build:ios_fat --ios_multi_cpus=armv7,arm64,i386,x86_64 # Config to use a mostly-static build and disable modular op registration # support (this will revert to loading TensorFlow with RTLD_GLOBAL in Python). # By default, TensorFlow will build with a dependence on # //tensorflow:libtensorflow_framework.so. build:monolithic --define framework_shared_object=false build:monolithic --define tsl_protobuf_header_only=false
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)