Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Kass (0.18 sec)

  1. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.cc

      if (n == 0) {
        TF_SetStatus(status, TF_OK, "");
        return 0;
      }
      if (!IsCacheEnabled() || (n > max_bytes_)) {
        // The cache is effectively disabled, so we pass the read through to the
        // fetcher without breaking it up into blocks.
        return block_fetcher_(filename, offset, n, buffer, status);
      }
      // Calculate the block-aligned start and end of the read.
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 16 01:39:09 GMT 2020
    - 11.1K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

        calls++;
        memset(buffer, 'x', got_n);
        TF_SetStatus(status, TF_OK, "");
        return got_n;
      };
      // If block_size, max_bytes, or both are zero, or want_n is larger than
      // max_bytes the cache is a pass-through.
      tf_gcs_filesystem::RamFileBlockCache cache1(1, 0, 0, fetcher);
      tf_gcs_filesystem::RamFileBlockCache cache2(0, 1, 0, fetcher);
      tf_gcs_filesystem::RamFileBlockCache cache3(0, 0, 0, fetcher);
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:57 GMT 2021
    - 23.2K bytes
    - Viewed (0)
  3. CONTRIBUTING.md

        initiates CI/CD tests.
    -   We can't move forward if these tests fail.
    -   In such situations, we may request you to make further changes to your PR
        for the tests to pass.
    -   Once the tests pass, we now bring all the code into the internal code base,
        using a job called "copybara".
    
    **5. Copy to Google Internal codebase and run internal CI**
    
    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/c/experimental/grappler/grappler.h

    // Infer OpInfo::TensorProperties for graph nodes inputs/outputs.
    //
    // Typical use case, is to infer tensor properties from a graph, before doing
    // optimization pass. Nodes modified during optimization pass have to be
    // invalidated, to prevent further incorrect optimizations based on wrong shape
    // and data type properties.
    typedef struct TF_GraphProperties TF_GraphProperties;
    
    C
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Aug 03 18:08:43 GMT 2022
    - 12.5K bytes
    - Viewed (0)
  5. tensorflow/c/BUILD

                "//tensorflow/cc:while_loop",
                "//tensorflow/cc/saved_model:loader_lite",
                "//tensorflow/compiler/mlir/tfr:graph_decompose_pass",
                "//tensorflow/compiler/mlir/tfr:node_expansion_pass",
                "//tensorflow/core:core_cpu",
                "//tensorflow/core:core_cpu_internal",
                "//tensorflow/core:framework",
                "//tensorflow/core:lib",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 27 18:00:18 GMT 2024
    - 30.3K bytes
    - Viewed (0)
  6. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

        [[ ! -s $BATS_FILE_TMPDIR/repeats ]]
    }
    
    # It's unclear why, but running this on //tensorflow/... is faster than running
    # only on affected targets, usually. There are targets in //tensorflow/lite that
    # don't pass --nobuild, so they're on their own.
    #
    # Although buildifier checks for formatting as well, "bazel build nobuild"
    # checks for cross-file issues like bad includes or missing BUILD definitions.
    #
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

      // Returns true if the cache is enabled. If false, the BlockFetcher callback
      // is always executed during Read.
      bool IsCacheEnabled() const { return block_size_ > 0 && max_bytes_ > 0; }
    
      // We can not pass a lambda with capture as a function pointer to
      // `TF_StartThread`, so we have to wrap `Prune` inside a static function.
      static void PruneThread(void* param) {
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:46:34 GMT 2020
    - 10.6K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/gradients/math_grad_test.cc

          ASSERT_EQ(errors::OK, status_.code()) << status_.message();
          immediate_execution_ctx_.reset(ctx_raw);
        }
    
        // Computing numerical gradients with TensorFloat-32 is numerically
        // unstable. Some forward pass tests also fail with TensorFloat-32 due to
        // low tolerances
        enable_tensor_float_32_execution(false);
      }
    
      AbstractContextPtr immediate_execution_ctx_;
      GradientRegistry registry_;
      Status status_;
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Thu Apr 13 17:32:14 GMT 2023
    - 16.3K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_experimental.h

    // device and related kernels present in that library. This function is not
    // supported on embedded on mobile and embedded platforms and will fail if
    // called.
    //
    // Pass "library_filename" to a platform-specific mechanism for dynamically
    // loading a library. The rules for determining the exact location of the
    // library are platform-specific and are not documented here.
    //
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  10. ci/official/utilities/code_check_full.bats

        [[ ! -s $BATS_FILE_TMPDIR/repeats ]]
    }
    
    # It's unclear why, but running this on //tensorflow/... is faster than running
    # only on affected targets, usually. There are targets in //tensorflow/lite that
    # don't pass --nobuild, so they're on their own.
    #
    # Although buildifier checks for formatting as well, "bazel build nobuild"
    # checks for cross-file issues like bad includes or missing BUILD definitions.
    #
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 06 21:54:13 GMT 2024
    - 13.2K bytes
    - Viewed (0)
Back to top