Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for TF_Buffer (0.14 sec)

  1. tensorflow/c/eager/c_api_experimental.h

                                                         TF_Buffer* buf,
                                                         TF_Status* status);
    
    // Get GraphDebugInfo containing stack traces mapping to node names
    TF_CAPI_EXPORT extern void TFE_ContextGetGraphDebugInfo(
        TFE_Context* ctx, const char* function_name, TF_Buffer* buf,
        TF_Status* status);
    
    // Extracts a TF_Function from the context.
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Feb 21 22:37:46 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  2. tensorflow/c/BUILD

    )
    
    cc_library(
        name = "tf_buffer_hdrs",
        hdrs = [
            "tf_buffer.h",
        ],
        visibility = ["//visibility:public"],
        deps = [
            ":c_api_macros_hdrs",
        ],
    )
    
    cc_library(
        name = "tf_buffer",
        srcs = [
            "tf_buffer.cc",
        ],
        hdrs = [
            "tf_buffer.h",
        ],
        copts = tf_copts(),
        visibility = ["//visibility:public"],
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Nov 02 06:47:06 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.h

                                                TF_Buffer* output_op_def,
                                                TF_Status* status);
    
    // Returns the serialized VersionDef proto for this graph.
    TF_CAPI_EXPORT extern void TF_GraphVersions(TF_Graph* graph,
                                                TF_Buffer* output_version_def,
                                                TF_Status* status);
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc

    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/c_api_experimental.h"
    #include "tensorflow/c/eager/parallel_device/parallel_device_testlib.h"
    #include "tensorflow/c/eager/tfe_context_internal.h"
    #include "tensorflow/c/tf_buffer.h"
    #include "tensorflow/c/tf_datatype.h"
    #include "tensorflow/c/tf_status.h"
    #include "xla/tsl/lib/core/status_test_util.h"
    #include "tensorflow/core/common_runtime/eager/context.h"
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 21 04:14:14 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  5. tensorflow/c/eager/parallel_device/parallel_device_test.cc

    #include "tensorflow/c/eager/parallel_device/parallel_device_lib.h"
    #include "tensorflow/c/eager/parallel_device/parallel_device_testlib.h"
    #include "tensorflow/c/eager/tfe_tensorhandle_internal.h"
    #include "tensorflow/c/tf_buffer.h"
    #include "tensorflow/c/tf_datatype.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/c/tf_status_internal.h"
    #include "xla/tsl/lib/core/status_test_util.h"
    #include "tensorflow/core/platform/test.h"
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Tue Aug 06 23:56:17 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  6. tensorflow/c/c_api.cc

      TF_Buffer* ret = TF_NewBuffer();
      status->status = MessageToBuffer(kernel_list, ret);
      if (!status->status.ok()) {
        TF_DeleteBuffer(ret);
        return nullptr;
      }
      return ret;
    }
    
    TF_Buffer* TF_GetRegisteredKernelsForOp(const char* name, TF_Status* status) {
      tensorflow::KernelList kernel_list =
          tensorflow::GetRegisteredKernelsForOp(name);
      TF_Buffer* ret = TF_NewBuffer();
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_experimental.cc

                                          const char* value) {
      cell->cell.Set({value});
    }
    
    const void TFE_MonitoringStringGaugeCellValue(
        TFE_MonitoringStringGaugeCell* cell, TF_Buffer* buf) {
      tensorflow::string value = cell->cell.value();
      void* data = tensorflow::port::Malloc(value.length());
      value.copy(static_cast<char*>(data), value.length(), 0);
      buf->data = data;
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  8. tensorflow/c/c_api_experimental.cc

      // functions, and their send/recvs corountines).
      config.set_inter_op_parallelism_threads(1);
    
      TF_Buffer* ret = TF_NewBuffer();
      TF_CHECK_OK(MessageToBuffer(config, ret));
      return ret;
    }
    
    TF_Buffer* TF_CreateRunOptions(unsigned char enable_full_trace) {
      tensorflow::RunOptions options;
      if (enable_full_trace) {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 29.5K bytes
    - Viewed (0)
  9. tensorflow/c/c_api_test.cc

        // Test op list.
        TF_Buffer op_list_buf = TF_GetOpList(lib);
        tensorflow::OpList op_list;
        EXPECT_TRUE(op_list.ParseFromArray(op_list_buf.data, op_list_buf.length));
        ASSERT_EQ(op_list.op_size(), 1);
        EXPECT_EQ("TestCApi1", op_list.op(0).name());
        TF_DeleteLibraryHandle(lib);
      }
    #endif  // !defined(TENSORFLOW_NO_SHARED_OBJECTS)
      {
        TF_Buffer* op_list_buffer = TF_GetAllOpList();
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
  10. tensorflow/c/c_api_experimental.h

    TF_CAPI_EXPORT extern TF_Buffer* TF_CreateConfig(
        unsigned char enable_xla_compilation, unsigned char gpu_memory_allow_growth,
        unsigned int num_cpu_devices);
    
    // Create a serialized tensorflow.RunOptions proto, where RunOptions.trace_level
    // is set to FULL_TRACE if `enable_full_trace` is non-zero, and NO_TRACE
    // otherwise.
    TF_CAPI_EXPORT extern TF_Buffer* TF_CreateRunOptions(
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 15.1K bytes
    - Viewed (0)
Back to top