Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for section (0.17 sec)

  1. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

    // This filesystem will support `file://` and empty (local) URI schemes.
    
    static void* plugin_memory_allocate(size_t size) { return calloc(1, size); }
    static void plugin_memory_free(void* ptr) { free(ptr); }
    
    // SECTION 1. Implementation for `TF_RandomAccessFile`
    // ----------------------------------------------------------------------------
    namespace tf_random_access_file {
    
    typedef struct PosixFile {
      const char* filename;
      int fd;
    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)
  2. tensorflow/api_template_v1.__init__.py

    # "contrib".
    if "__all__" in vars():
      vars()["__all__"].append("contrib")
    
    from tensorflow.python.platform import flags
    # The "app" module will be imported as part of the placeholder section above.
    _current_module.app.flags = flags  # pylint: disable=undefined-variable
    setattr(_current_module, "flags", flags)
    
    _major_api_version = 1
    
    # Add module aliases from Keras to TF.
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  3. CONTRIBUTING.md

    *   [JavaScript/TypeScript license example](https://github.com/tensorflow/tensorboard/blob/master/tensorboard/components/tf_backend/backend.ts#L1)
    
    Bazel BUILD files also need to include a license section, e.g.,
    [BUILD example](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/BUILD#L61).
    
    #### C++ coding style
    
    Changes to TensorFlow C++ code should conform to
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  4. tensorflow/BUILD

    )
    load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
    
    # Do not sort: Copybara rule
    # copybara:uncomment_begin
    # # buildifier: disable=out-of-order-load
    # load("//devtools/build_cleaner/skylark:action_config_test.bzl", "action_config_test")
    # load("//devtools/copybara/rules:copybara.bzl", "copybara_config_test")
    # load("@rules_license//rules:license.bzl", "license")
    # # buildifier: enable=out-of-order-load
    # copybara:uncomment_end
    
    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)
  5. RELEASE.md

    *   `tf.compat.v1.Session`
        * `tf.compat.v1.Session.partial_run` and `tf.compat.v1.Session.partial_run_setup` will be deprecated in the next release.
    
    ### Known Caveats
    
    * `tf.lite`
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  6. tensorflow/c/c_api.cc

      }
    
      TF_Session* session = new TF_Session(bundle.session.release(), graph);
    
      graph->sessions[session] = "";
      session->last_num_graph_nodes = graph->graph.num_node_ids();
      return session;
    #endif  // defined(IS_MOBILE_PLATFORM) || defined(IS_SLIM_BUILD)
    }
    
    void TF_CloseSession(TF_Session* s, TF_Status* status) {
      status->status = s->session->Close();
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_test_util.cc

    TFE_Context* CreateContext(const std::string& serialized_server_def,
                               bool isolate_session_state,
                               int64_t init_timeout_in_ms) {
      TF_Status* status = TF_NewStatus();
      TFE_ContextOptions* opts = TFE_NewContextOptions();
      opts->session_options.options.config.set_isolate_session_state(
          isolate_session_state);
      TFE_ContextOptionsSetAsync(opts, static_cast<unsigned char>(false));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
  8. tensorflow/c/eager/c_api.cc

    void TFE_ContextOptionsSetConfig(TFE_ContextOptions* options, const void* proto,
                                     size_t proto_len, TF_Status* status) {
      TF_SetConfig(&options->session_options, proto, proto_len, status);
    }
    
    void TFE_ContextOptionsSetAsync(TFE_ContextOptions* options,
                                    unsigned char enable) {
      options->async = enable;
    }
    
    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)
  9. .bazelrc

    build:cuda_clang_official --config=cuda_clang
    build:cuda_clang_official --action_env=TF_CUDA_VERSION="12"
    build:cuda_clang_official --action_env=TF_CUDNN_VERSION="8"
    build:cuda_clang_official --action_env=CUDA_TOOLKIT_PATH="/usr/local/cuda-12.3"
    build:cuda_clang_official --action_env=GCC_HOST_COMPILER_PATH="/dt9/usr/bin/gcc"
    build:cuda_clang_official --action_env=CLANG_CUDA_COMPILER_PATH="/usr/lib/llvm-17/bin/clang"
    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)
  10. configure.py

          error_msg=('The selected SDK does not have build-tools version %s '
                     'available.'))
    
      write_action_env_to_bazelrc('ANDROID_BUILD_TOOLS_VERSION',
                                  android_build_tools_version)
      write_action_env_to_bazelrc('ANDROID_SDK_API_LEVEL', android_api_level)
      write_action_env_to_bazelrc('ANDROID_SDK_HOME', android_sdk_home_path)
    
    
    def get_ndk_api_level(environ_cp, android_ndk_home_path):
    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)
Back to top