Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 125 for if (0.16 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/expiring_lru_cache.h

      /// Look up the entry with key `key` and copy it to `value` if found. If not
      /// found, call `compute_func`. If `compute_func` set `status` to `TF_OK`,
      /// store a copy of the output parameter in the cache, and another copy in
      /// `value`.
      void LookupOrCompute(const std::string& key, T* value,
                           const ComputeFunc& compute_func, TF_Status* status) {
        if (max_age_ == 0) {
          return compute_func(key, value, status);
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 09 19:31:22 GMT 2020
    - 6.3K bytes
    - Viewed (0)
  2. tensorflow/api_template_v1.__init__.py

      * https://github.com/tensorflow/io (for I/O related ops)
    If you depend on functionality not listed there, please file an issue.
    """
    contrib = _LazyLoader("contrib", globals(), "tensorflow.contrib",
                          _CONTRIB_WARNING)
    # The templated code that replaces the placeholder above sometimes
    # sets the __all__ variable. If it does, we have to be sure to add
    # "contrib".
    if "__all__" in vars():
      vars()["__all__"].append("contrib")
    
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Jan 23 02:14:00 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  3. .github/ISSUE_TEMPLATE/tflite-converter-issue.md

    labels: 'TFLiteConverter'
    
    ---
    
    ### 1. System information
    
    - OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
    - TensorFlow installation (pip package or built from source):
    - TensorFlow library (version, if pip package or github SHA, if built from source):
    
    ### 2. Code
    
    Provide code to help us reproduce your issues using one of the following options:
    
    #### Option A: Reference colab notebooks
    
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jun 15 03:35:58 GMT 2022
    - 2.1K bytes
    - Viewed (0)
  4. tensorflow/c/eager/immediate_execution_tensor_handle.cc

      PartialTensorShape shape;
      std::string shape_string;
      if (Shape(&shape).ok()) {
        shape_string = shape.DebugString();
      } else {
        shape_string = "<error computing shape>";
      }
      std::string value_string;
      if (!SummarizeValue(value_string).ok()) {
        value_string = "<error computing value>";
      }
      if (value_string.length() > 100) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  5. ci/official/wheel_test/update_requirements.sh

    # if there is a change in requirements.in then all lock files will be updated
    # accordingly.
    
    # -e: abort script if one command fails
    # -u: error if undefined variable used
    # -o pipefail: entire command fails if pipe fails. watch out for yes | ...
    # -o history: record shell history
    set -euo pipefail -o history
    
    # Check for required arguments
    if [ -z "$1" ]; then
    Shell Script
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 31 18:17:57 GMT 2023
    - 1.9K bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/tflite-in-play-services.md

      if possible):
    - TensorFlow Lite in Play Services SDK version (found in `build.gradle`):
    - Google Play Services version
      (`Settings` > `Apps` > `Google Play Services` > `App details`):
    
    **Standalone code to reproduce the issue**
    Provide a reproducible test case that is the bare minimum necessary to generate
    the problem. If possible, please share a link to or attach code demonstrating
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jun 15 03:35:58 GMT 2022
    - 880 bytes
    - Viewed (0)
  7. .github/bot_config.yml

       
       | 1.13.1 - 2.0  | 10.0  |
       
       | 1.5.0 - 1.12.0 | 9.0 |
       
         * If you have above configuration and using _**Windows**_ platform -
           * Try adding the CUDA, CUPTI, and cuDNN installation directories to the %PATH% environment variable.
           * Refer [windows setup guide](https://www.tensorflow.org/install/gpu#windows_setup).
         * If you have above configuration and using _**Ubuntu/Linux**_ platform -
    Others
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Oct 17 11:48:07 GMT 2023
    - 4K bytes
    - Viewed (0)
  8. ci/official/README.md

    #   TFCI is a comma-separated list of filenames from the envs directory, which
    #   are all settings for the scripts. TF's CI jobs are all made of a combination
    #   of these env files.
    #
    #   If you've clicked on a test result from our CI (via a dashboard or GitHub link),
    #   click to "Invocation Details" and find BUILD_CONFIG, which will contain a TFCI
    #   value in the "env_vars" list that you can choose to copy that environment.
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 01 03:21:19 GMT 2024
    - 8K bytes
    - Viewed (0)
  9. tensorflow/c/eager/unified_api_testutil.cc

          for (auto output : output_list.outputs) {
            output->Unref();
          }
          TF_RETURN_IF_ERROR(ctx->RegisterFunction(func));
        }
    
        AbstractOperationPtr fn_op(ctx->CreateOperation());
        TF_RETURN_IF_ERROR(fn_op->Reset(fn_name, /*raw_device_name=*/nullptr));
        for (auto input : inputs) {
          TF_RETURN_IF_ERROR(fn_op->AddInput(input));
        }
        int retvals = outputs.size() - null_indices.size();
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Feb 27 13:57:45 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  10. tensorflow/c/eager/immediate_execution_operation.h

                              ImmediateExecutionTensorHandle* input) = 0;
    
      virtual ImmediateExecutionContext* GetContext() const = 0;
    
      // Following two methods are used to support custom device.
      // Return true if the inputs contain custom device tensor handle. It means
      // that the argument need to be handled by a custom device.
      virtual bool HasCustomDeviceInput() const = 0;
    
      virtual const tensorflow::OpDef* OpDef() const = 0;
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 22:40:32 GMT 2022
    - 3.6K bytes
    - Viewed (0)
Back to top