Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for calling (0.19 sec)

  1. tensorflow/c/eager/c_api_experimental.h

    // TFE_ExecutorWaitForAllPendingNodes before calling this API if you want to
    // make sure all nodes are finished.
    TF_CAPI_EXPORT extern void TFE_DeleteExecutor(TFE_Executor*);
    
    // Returns true if the executor is in async mode.
    TF_CAPI_EXPORT extern bool TFE_ExecutorIsAsync(TFE_Executor*);
    
    // Causes the calling thread to block till all ops dispatched in this executor
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  2. tensorflow/c/eager/dlpack.cc

    #include "tensorflow/core/platform/logging.h"
    
    namespace tensorflow {
    
    namespace {
    
    // Managing context for the DLManagedTensor, will manage the lifetime of
    // DLManagedTensor. When calling DLManagedTensor::deleter, it will notify the
    // original framework of destruction, and this context will be deleted also.
    struct TfDlManagedTensorCtx {
      TensorReference reference;
      std::vector<int64_t> shape;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/grappler/grappler.h

    // Delete NewFunctionLibraryDefinition.
    TF_CAPI_EXPORT extern void TF_DeleteFunctionLibraryDefinition(
        TF_FunctionLibraryDefinition* fn_lib);
    
    // Shorthand for calling LookUp to get the OpDef from FunctionLibraryDefinition
    // given op name. The returned OpDef is represented by TF_Buffer.
    TF_CAPI_EXPORT extern void TF_LookUpOpDef(TF_FunctionLibraryDefinition* fn_lib,
    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)
  4. tensorflow/c/eager/c_api.h

    // Some TF ops need a step container to be set to limit the lifetime of some
    // resources (mostly TensorArray and Stack, used in while loop gradients in
    // graph mode). Calling this on a context tells it to start a step.
    TF_CAPI_EXPORT extern void TFE_ContextStartStep(TFE_Context* ctx);
    
    // Ends a step. When there is no active step (that is, every started step has
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache_test.cc

      // The cache should now be empty.
      EXPECT_EQ(cache.CacheSize(), 0);
    }
    
    TEST(RamFileBlockCacheTest, ParallelReads) {
      // This fetcher won't respond until either `callers` threads are calling it
      // concurrently (at which point it will respond with success to all callers),
      // or 10 seconds have elapsed (at which point it will respond with an error).
      const int callers = 4;
      BlockingCounter counter(callers);
    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)
  6. tensorflow/c/c_api.h

    //   of stdbool.h is avoided and unsigned char is used instead.
    // * size_t is used to represent byte sizes of objects that are
    //   materialized in the address space of the calling process.
    // * int is used as an index into arrays.
    // * Deletion functions are safe to call on nullptr.
    //
    // Questions left to address:
    // * Might at some point need a way for callers to provide their own Env.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  7. ci/official/envs/versions_upload

    # See the License for the specific language governing permissions and
    # limitations under the License.
    # ==============================================================================
    # Release jobs are very basic. They don't use any caching or RBE,
    # but they do upload logs to resultstore.
    # IMPORTANT: trailing slash is required on GCS URIs, as it tells gcloud to
    # pretend the path is a directory.
    TFCI_ARTIFACT_FINAL_GCS_ENABLE=1
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Jan 19 19:07:48 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  8. ci/official/README.md

    #   public URL to share your build results with collaborators. However,
    #   it is only available to a limited set of internal TensorFlow developers.
    #
    #   RBE is incompatible with local caching, so you must remove
    #   disk_cache, public_cache, and public_cache_push from your $TFCI file.
    #
    # To use RBE, you must first run `gcloud auth application-default login`, then:
    export TFCI=py311,linux_x86,rbe
    
    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. ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py

      else:
        p.text += (
            "\n      Since there were not three failures, this is probably a flake."
        )
        p.text += (
            "\n      Flakes make this pkg/pip_and_nonpip_tests target show "
            "as failing,"
        )
        p.text += "\n      but do not make the Kokoro invocation fail."
    
    os.makedirs(os.path.dirname(sys.argv[2]), exist_ok=True)
    result.update_statistics()
    Python
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 19:00:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  10. tensorflow/c/eager/tape.h

      // Tell the forward accumulator to watch tensor_id, with a Tensor tangent
      // vector `tangent` of matching shape and dtype. Tangents are the "vector" in
      // "Jacobian-vector product"; `Watch`ing a new Tensor and immediately calling
      // FetchJVP for it would return `tangent`.
      void Watch(int64_t tensor_id, Gradient* tangent);
    
      // Removes the gradient associated with tensor_id. Should be called when the
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
Back to top