Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 183 for tf_status (0.79 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/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

        TF_SetStatus(status, TF_OK, "");
      }
    }
    
    void Sync(const TF_WritableFile* file, TF_Status* status) {
      auto gcs_file = static_cast<GCSFile*>(file->plugin_file);
      TF_VLog(3, "Sync: gs://%s/%s", gcs_file->bucket.c_str(),
              gcs_file->object.c_str());
      Flush(file, status);
    }
    
    void Close(const TF_WritableFile* file, TF_Status* status) {
      auto gcs_file = static_cast<GCSFile*>(file->plugin_file);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 23 06:55:53 UTC 2023
    - 46.9K 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/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)
  6. 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)
  7. 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)
  8. 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)
  9. tensorflow/c/eager/parallel_device/parallel_device_testlib.cc

    }
    
    void Variable::AssignAdd(TFE_Context* context, TFE_TensorHandle* value,
                             TF_Status* status) {
      GeneralAssignment("AssignAddVariableOp", context, value, status);
    }
    
    void Variable::Assign(TFE_Context* context, TFE_TensorHandle* value,
                          TF_Status* status) {
      GeneralAssignment("AssignVariableOp", context, value, status);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 15 15:44:44 UTC 2021
    - 12.5K bytes
    - Viewed (0)
  10. 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)
Back to top