Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 207 for cc_status (0.36 sec)

  1. tensorflow/c/experimental/pluggable_profiler/pluggable_profiler.h

    //   void profiler_start(const TP_Profiler* profiler, TF_Status* status) {
    //     /* Enable profiler */
    //     ...
    //   }
    //
    //  void profiler_stop(const TP_Profiler* profiler, TF_Status* status) {
    //    /* Disable Profiler */
    //    ...
    //  }
    //
    //  void profiler_collect_data_xspace(const TP_Profiler* profiler, uint8_t*
    //  buffer, size_t* size_in_bytes, TF_Status* status) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Sep 14 20:04:34 UTC 2021
    - 7.4K bytes
    - Viewed (0)
  2. tensorflow/c/ops_test.cc

      TF_OpDefinitionBuilderAddInput(builder, "input1: uint8");
      TF_OpDefinitionBuilderAddInput(builder, "input2: uint16");
      TF_OpDefinitionBuilderAddOutput(builder, "output1: uint32");
      TF_Status* status = TF_NewStatus();
      TF_RegisterOpDefinition(builder, status);
      ASSERT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
      TF_Buffer* op_list_buffer = TF_GetAllOpList();
      ::tensorflow::OpList op_list;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 11 01:20:50 UTC 2021
    - 12.6K bytes
    - Viewed (0)
  3. tensorflow/c/kernels/merge_summary_op.cc

    namespace {
    
    // Operators used to create a std::unique_ptr for TF_Tensor and TF_Status
    struct TFTensorDeleter {
      void operator()(TF_Tensor* tf_tensor) const { TF_DeleteTensor(tf_tensor); }
    };
    
    struct TFStatusDeleter {
      void operator()(TF_Status* tf_status) const { TF_DeleteStatus(tf_status); }
    };
    
    // Struct that wraps TF_Tensor and TF_Status to delete once out of scope
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 31 03:28:11 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  4. tensorflow/c/kernels/histogram_summary_op.cc

    namespace {
    
    // Operators used to create a std::unique_ptr for TF_Tensor and TF_Status.
    struct TFTensorDeleter {
      void operator()(TF_Tensor* tf_tensor) const { TF_DeleteTensor(tf_tensor); }
    };
    
    struct TFStatusDeleter {
      void operator()(TF_Status* tf_status) const { TF_DeleteStatus(tf_status); }
    };
    
    // Struct that wraps TF_Tensor and TF_Status to delete once out of scope.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  5. tensorflow/c/eager/custom_device_testutil.h

    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/c_api_experimental.h"
    #include "tensorflow/c/tf_status.h"
    
    void RegisterLoggingDevice(TFE_Context* context, const char* name,
                               bool strict_scope_placement, bool* arrived_flag,
                               bool* executed_flag, TF_Status* status);
    void AllocateLoggingDevice(const char* name, bool* arrived_flag,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Aug 27 23:39:24 UTC 2020
    - 1.6K bytes
    - Viewed (0)
  6. tensorflow/c/kernels_test.cc

    #include "absl/strings/str_format.h"
    #include "unsupported/Eigen/CXX11/Tensor"  // from @eigen_archive
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/tf_datatype.h"
    #include "tensorflow/c/tf_status.h"
    #include "tensorflow/c/tf_tensor.h"
    #include "tensorflow/core/common_runtime/device.h"
    #include "tensorflow/core/common_runtime/device_factory.h"
    #include "tensorflow/core/framework/allocator.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Sep 06 19:12:29 UTC 2023
    - 50.4K bytes
    - Viewed (0)
  7. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

    };
    
    using OpPtr = std::unique_ptr<TFE_Op, OpDeleter>;
    
    class StatusDeleter {
     public:
      void operator()(TF_Status* to_delete) const { TF_DeleteStatus(to_delete); }
    };
    
    using StatusPtr = std::unique_ptr<TF_Status, StatusDeleter>;
    
    class ExecutorDeleter {
     public:
      void operator()(TFE_Executor* to_delete) const {
        TFE_DeleteExecutor(to_delete);
      }
    };
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Feb 09 07:47:20 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  8. tensorflow/c/BUILD

        visibility = ["//tensorflow:internal"],
        deps = [
            ":conversion_macros",
            "//tensorflow/core:framework",
        ],
    )
    
    cc_library(
        name = "tf_status",
        srcs = ["tf_status.cc"],
        hdrs = ["tf_status.h"],
        copts = tf_copts(),
        visibility = ["//visibility:public"],
        deps = [
            ":c_api_macros_hdrs",
            ":tf_status_internal",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 27 18:00:18 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  9. tensorflow/c/c_api.cc

                                                  TF_Status* status) {
      Session* session;
      status->status = NewSession(opt->options, &session);
      if (status->status.ok()) {
        return new TF_DeprecatedSession({session});
      } else {
        DCHECK_EQ(nullptr, session);
        return nullptr;
      }
    }
    
    void TF_CloseDeprecatedSession(TF_DeprecatedSession* s, TF_Status* status) {
      status->status = s->session->Close();
    }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  10. tensorflow/c/eager/custom_device_testutil.cc

      ~LoggedTensor() { TFE_DeleteTensorHandle(tensor); }
    };
    
    int64_t LoggedTensorDim(void* data, int dim_index, TF_Status* status) {
      return TFE_TensorHandleDim(reinterpret_cast<LoggedTensor*>(data)->tensor,
                                 dim_index, status);
    }
    
    int LoggedTensorNumDims(void* data, TF_Status* status) {
      return TFE_TensorHandleNumDims(reinterpret_cast<LoggedTensor*>(data)->tensor,
                                     status);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Mar 03 20:47:31 UTC 2021
    - 8.3K bytes
    - Viewed (0)
Back to top