Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Content (0.18 sec)

  1. tensorflow/c/eager/c_api_experimental.cc

                                        TF_Buffer* buf) {
      string content;
      cell->cell.value().SerializeToString(&content);
      void* data = tensorflow::port::Malloc(content.length());
      content.copy(static_cast<char*>(data), content.length(), 0);
      buf->data = data;
      buf->length = content.length();
      buf->data_deallocator = [](void* data, size_t length) {
        tensorflow::port::Free(data);
      };
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  2. tensorflow/c/c_api_experimental.cc

    }
    
    TF_CAPI_EXPORT extern void TFE_AbortCollectiveOps(TFE_Context* ctx,
                                                      TF_Status* status) {
      tensorflow::EagerContext* context =
          tensorflow::ContextFromInterface(tensorflow::unwrap(ctx));
      auto collective_executor_handle = context->GetCollectiveExecutorHandle();
      collective_executor_handle->get()->StartAbort(status->status);
    }
    
    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)
  3. tensorflow/c/eager/c_api_experimental.h

    // Enables only graph collection in RunMetadata on the functions executed from
    // this context.
    TF_CAPI_EXPORT extern void TFE_ContextEnableGraphCollection(TFE_Context* ctx);
    
    // Disables only graph collection in RunMetadata on the functions executed from
    // this context.
    TF_CAPI_EXPORT extern void TFE_ContextDisableGraphCollection(TFE_Context* ctx);
    
    // TODO(fishx): Move these monitoring APIs into a separate file.
    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)
  4. tensorflow/c/BUILD

            ":checkpoint_reader",
            ":tf_buffer",
            ":tf_buffer_internal",
            "//tensorflow/c/eager:c_api",
            "//tensorflow/c/eager:c_api_internal",
            "//tensorflow/c/eager:tfe_context_internal",
            "//tensorflow/c/eager:tfe_op_internal",
            "//tensorflow/c/eager:tfe_tensorhandle_internal",
            "//tensorflow/compiler/jit:flags",
            "//tensorflow/compiler/jit:get_compiler_ir",
    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)
  5. CONTRIBUTING.md

    debugging information with `--config=dbg`, as issues occur on Linux if
    there is too much debug info (see [this GitHub
    issue](https://github.com/tensorflow/tensorflow/issues/48919) for context). If
    you want to debug a kernel, you can compile specific files with `-g` using the
    `--per_file_copt` bazel option. For example, if you want to debug the Identity
    op, which are in files starting with `identity_op`, you can run
    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)
  6. tensorflow/c/eager/c_api.cc

          /*jit_compile_rewrite=*/opts->jit_compile_rewrite);
    #if !defined(IS_MOBILE_PLATFORM)
      eager_context->SetDistributedManager(
          std::make_unique<tensorflow::EagerContextDistributedManager>(
              eager_context));
    #endif  // !IS_MOBILE_PLATFORM
      return tensorflow::wrap(eager_context);
    }
    
    void TFE_DeleteContext(TFE_Context* ctx) {
      if (ctx == nullptr) {
        return;
      }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  7. tensorflow/c/eager/c_api_test_util.cc

    #include "tensorflow/core/protobuf/rewriter_config.pb.h"
    #include "tensorflow/core/util/port.h"
    
    using tensorflow::string;
    using tensorflow::tstring;
    
    TFE_TensorHandle* TestScalarTensorHandle(TFE_Context* ctx, float value) {
      float data[] = {value};
      TF_Status* status = TF_NewStatus();
      TF_Tensor* t = TFE_AllocateHostTensor(ctx, TF_FLOAT, nullptr, 0, status);
      memcpy(TF_TensorData(t), &data[0], TF_TensorByteSize(t));
    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)
  8. tensorflow/c/eager/BUILD

            "//tensorflow/core:protos_all_cc",
        ],
    )
    
    cc_library(
        name = "immediate_execution_context",
        hdrs = ["immediate_execution_context.h"],
        visibility = [
            "//tensorflow:internal",
        ],
        deps = [
            ":abstract_context",
            ":immediate_execution_distributed_manager",
            ":immediate_execution_operation",
            ":immediate_execution_tensor_handle",
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 33.3K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_unified_experimental_graph.cc

    #include <memory>
    #include <utility>
    #include <vector>
    
    #include "absl/strings/str_cat.h"
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/eager/abstract_context.h"
    #include "tensorflow/c/eager/c_api_internal.h"
    #include "tensorflow/c/eager/c_api_unified_experimental.h"
    #include "tensorflow/c/eager/c_api_unified_experimental_internal.h"
    #include "tensorflow/c/eager/graph_function.h"
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 15.4K bytes
    - Viewed (1)
  10. tensorflow/c/c_api_function.cc

        Node* node = inputs[i].oper ? &inputs[i].oper->node : nullptr;
        int idx = inputs[i].index;
    
        TF_RETURN_WITH_CONTEXT_IF_ERROR(
            fn_body->graph.IsValidOutputTensor(node, idx),
            "Encountered while processing input ", i, " into function '", fn_name,
            "'");
        TF_RETURN_WITH_CONTEXT_IF_ERROR(ValidateNonRefOutput(node, idx),
                                        "Encountered while processing input ", i,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
Back to top