Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for allocated (0.16 sec)

  1. tensorflow/c/eager/c_api_experimental.h

    TF_CAPI_EXPORT extern TF_Function* TFE_ContextGetFunction(TFE_Context* ctx,
                                                              const char* name,
                                                              TF_Status* status);
    
    // Allocate and return a new Tensor on the host.
    //
    // The caller must set the Tensor values by writing them to the pointer returned
    // by TF_TensorData with length TF_TensorByteSize.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 39.5K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_test_util.cc

      auto* rewrite_options =
          config->mutable_graph_options()->mutable_rewrite_options();
      rewrite_options->set_scoped_allocator_optimization(
          tensorflow::RewriterConfig::ON);
      rewrite_options->mutable_scoped_allocator_opts()->add_enable_op(
          "CollectiveReduce");
    
      if ((tensorflow::IsGoogleCudaEnabled() || tensorflow::IsBuiltWithROCm()) &&
          num_virtual_gpus > 0) {
    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)
  3. RELEASE.md

            `tf.function`-local variable: during each execution of the
            `tf.function`, the variable will be created and then disposed, similar
            to a local (i.e. stack-allocated) variable in C/C++. Currently
            `experimental_enable_variable_lifting=False` only works on non-XLA
            devices (e.g. under `@tf.function(jit_compile=False)`).
    
    *   TF SavedModel:
    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)
  4. tensorflow/BUILD

                    "//tensorflow/lite/kernels/shim:tf_kernel_shim",
                    "@local_xla//xla/stream_executor:stream_executor_impl",
                    "@local_tsl//tsl/framework:bfc_allocator",
                    "@local_tsl//tsl/framework:metrics",
                ] + tf_additional_binary_deps() +
                # TODO(b/259305727): Remove this select and include captured_function in macos builds.
                select({
    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. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

    }
    
    void TF_InitPlugin(TF_FilesystemPluginInfo* info) {
      info->plugin_memory_allocate = plugin_memory_allocate;
      info->plugin_memory_free = plugin_memory_free;
      info->num_schemes = 2;
      info->ops = static_cast<TF_FilesystemPluginOps*>(
          plugin_memory_allocate(info->num_schemes * sizeof(info->ops[0])));
      ProvideFilesystemSupportFor(&info->ops[0], "");
    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)
  6. tensorflow/c/c_api_experimental.cc

      // Update the vector with information from `input_tensors` if provided.
      if (input_tensors != nullptr) {
        // Note that we take the address of the elements in `all_input_tensors`
        // below. Allocate enough space so that no reallocation happens, which will
        // make the pointers invalid.
        all_input_tensors.reserve(num_inputs);
        for (int i = 0; i < num_inputs; ++i) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
  7. tensorflow/c/eager/tape.h

            backward_function_getter, backward_function_deleter);
        return absl::OkStatus();
      }
      if (!ShouldRecord(input_tensor_id, input_dtypes)) {
        return absl::OkStatus();
      }
    
      // We may need to allocate zero inputs for trainable dtypes we don't have JVPs
      // for. Make sure they get cleaned up.
      std::vector<Gradient*> new_zeros;
      auto delete_new_zeros = gtl::MakeCleanup([&new_zeros, this] {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 02 12:40:29 GMT 2024
    - 47.2K bytes
    - Viewed (1)
  8. tensorflow/c/experimental/next_pluggable_device/tensor_pjrt_buffer_util_test.cc

      return new PJRT_Buffer{std::move(*buffer), c_api_client->pjrt_c_client()};
    }
    
    TEST(TensorPjRtBufferUtilTest, GetPjRtCBufferFromTensorNoBuffer) {
      auto allocator = std::make_unique<AsyncValueAllocator>();
      tensorflow::Tensor tensor(allocator.get(), DT_FLOAT, {1});
    
      EXPECT_THAT(
          GetPjRtCBufferFromTensor(&tensor),
          StatusIs(error::INTERNAL, HasSubstr(absl::StrCat(
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Mon Oct 30 19:20:20 GMT 2023
    - 7.2K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/next_pluggable_device/c_api.cc

      TF_VariableInfo() = delete;
      // TF_VariableInfo is constructed here by TensorFlow, and will be passed to
      // plugin as a opaque pointer. Plugin will need to call C APIs below to
      // operate on TF_VariableInfo (such as allocate temp tensor for the `var` held
      // by the underlying tensorflow::VariableInfo.
      TF_VariableInfo(int index, const std::string& name, tensorflow::Var* var) {
        var_info = tensorflow::VariableInfo{index, name, var};
      }
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
  10. tensorflow/c/env.h

    // \brief Get a pointer to a symbol from a dynamic library.
    //
    // "handle" should be a pointer returned from a previous call to
    // TF_LoadLibraryFromEnv. On success, place OK in status and return a pointer to
    // the located symbol. Otherwise returns nullptr and set error status.
    TF_CAPI_EXPORT extern void* TF_GetSymbolFromLibrary(void* handle,
                                                        const char* symbol_name,
    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)
Back to top