Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 42 for resources (0.22 sec)

  1. tensorflow/c/eager/c_api_test.cc

      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_DeleteStatus(status);
    }
    BENCHMARK(BM_ExecuteFunction)->Arg(0)->Arg(1);
    
    TEST(CAPI, Variables) {
      // Variables use resource handles, so this is really a test for resource
      // tensor handling.
      TF_Status* status = TF_NewStatus();
      TFE_ContextOptions* opts = TFE_NewContextOptions();
      TFE_Context* ctx = TFE_NewContext(opts, status);
    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)
  2. tensorflow/c/eager/c_api.h

                                                            TF_Status* status);
    
    // 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);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  3. tensorflow/c/eager/abstract_context.h

      explicit AbstractContext(AbstractContextKind kind) : kind_(kind) {}
      virtual ~AbstractContext() {}
    
     public:
      AbstractContextKind getKind() const { return kind_; }
    
      // Release any underlying resources, including the interface object.
      //
      // WARNING: The destructor of this class is marked as protected to disallow
      // clients from directly destroying this object since it may manage its own
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sun Oct 24 11:16:58 GMT 2021
    - 3K bytes
    - Viewed (0)
  4. ci/official/containers/linux_arm64/build.sh

    # almost all of the same cache layers
    export DOCKER_BUILDKIT=1
    for target in jax tf; do
      IMAGE="gcr.io/tensorflow-sigs/build-arm64:$target-$TAG"
      docker pull "$IMAGE" || true
      # Due to some flakiness of resources pulled in the build, allow the docker
      # command to reattempt build a few times in the case of failure (b/302558736)
      set +e
      for i in $(seq 1 5)
      do
        docker build \
    Shell Script
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Fri Nov 03 13:38:49 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  5. tensorflow/c/c_api.cc

        *dst = tensorflow::Tensor(tensorflow::DT_RESOURCE, dst->shape());
        if (!dst->scalar<tensorflow::ResourceHandle>()().ParseFromString(
                string(static_cast<const char*>(tensor_interface->Data()),
                       tensor_interface->ByteSize()))) {
          return InvalidArgument(
              "Malformed TF_RESOURCE tensor: unable to parse resource handle");
        }
        return absl::OkStatus();
      }
      return absl::OkStatus();
    }
    
    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)
  6. ci/official/containers/linux_arm64/setup.sources.sh

    # LLVM/Clang: https://apt.llvm.org/
    apt-key adv --fetch-keys https://apt.llvm.org/llvm-snapshot.gpg.key
    
    # Set up custom sources
    cat >/etc/apt/sources.list.d/custom.list <<SOURCES
    # More Python versions: Deadsnakes
    deb http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal main
    deb-src http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal main
    
    # LLVM/Clang 17 repository
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  7. tensorflow/c/env.h

    // Item points are invalidated after a call to TF_StringStreamDone.
    TF_CAPI_EXPORT extern bool TF_StringStreamNext(TF_StringStream* list,
                                                   const char** result);
    
    // Frees the resources associated with given string list. All pointers returned
    // by TF_StringStreamNext are invalid after this call.
    TF_CAPI_EXPORT extern void TF_StringStreamDone(TF_StringStream* list);
    
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Sat Jan 09 02:53:27 GMT 2021
    - 9.6K bytes
    - Viewed (0)
  8. ci/official/containers/linux_arm64/Dockerfile

    # Install devtoolset devel dependencies
    COPY setup.sources.sh /setup.sources.sh
    COPY setup.packages.sh /setup.packages.sh
    COPY devel.packages.txt /devel.packages.txt
    COPY cuda.packages.txt /cuda.packages.txt
    RUN /setup.sources.sh && /setup.packages.sh /devel.packages.txt
    
    # Install various tools.
    # - bats: bash unit testing framework
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Jan 08 09:32:19 GMT 2024
    - 4.1K bytes
    - Viewed (1)
  9. RELEASE.md

            `tf.lookup.StaticHashTable.__init__` to create the table in anonymous
            mode. In this mode, the table resource can only be accessed via resource
            handles (not resource names) and will be deleted automatically when all
            resource handles pointing to it are gone.
    *   `tf.data`:
        *   Introduce the `tf.data.experimental.at` API which provides random access
    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)
  10. tensorflow/c/eager/gradients.cc

      std::unordered_map<int64_t, TapeTensor> sources_that_are_targets;
      for (int i = 0; i < target_tensor_ids.size(); ++i) {
        int64_t target_id = target_tensor_ids[i];
        if (sources_set.find(target_id) != sources_set.end()) {
          auto tensor = targets[i];
          sources_that_are_targets.insert(
              std::make_pair(target_id, TapeTensor(tensor)));
        }
      }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
Back to top