Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 147 for startup (0.27 sec)

  1. .bazelrc

    # the pip package on Windows without an intermediate data-file archive, as the
    # build_pip_package script in its current form (as of Aug 2023) uses the
    # runfiles symlink tree to decide what to put into the Python wheel.
    startup --windows_enable_symlinks
    build:windows --enable_runfiles
    
    # Default paths for TF_SYSTEM_LIBS
    build:linux --define=PREFIX=/usr
    build:linux --define=LIBDIR=$(PREFIX)/lib
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
  2. tensorflow/c/eager/graph_function.h

    class GraphFunction : public AbstractFunction {
     public:
      explicit GraphFunction(FunctionDef fdef);
      ~GraphFunction() override;
    
      // GraphFunction maybe stay alive for the duration of the returned
      // FunctionDef.
      Status GetFunctionDef(const FunctionDef** fdef) override;
    
      // Returns a shared reference to the wrapped function.
      absl::StatusOr<core::RefCountPtr<FunctionRecord>> GetFunctionRecord()
          override {
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Mar 04 19:49:06 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_filesystem.cc

    // https://github.com/googleapis/google-cloud-cpp/blob/6c09cbfa0160bc046e5509b4dd2ab4b872648b4a/google/cloud/status.h#L32-L52
    static inline void TF_SetStatusFromGCSStatus(
        const google::cloud::Status& gcs_status, TF_Status* status) {
      TF_SetStatus(status, static_cast<TF_Code>(gcs_status.code()),
                   gcs_status.message().c_str());
    }
    
    static void* plugin_memory_allocate(size_t size) { return calloc(1, size); }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Aug 23 06:55:53 GMT 2023
    - 46.9K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_experimental.h

                                                       TF_Status* status);
    
    // Returns the status for the tensor handle. In TFRT, a tensor handle can carry
    // error info if error happens. If so, the status will be set with the error
    // info. If not, status will be set as OK.
    TF_CAPI_EXPORT extern void TFE_TensorHandleGetStatus(TFE_TensorHandle* h,
                                                         TF_Status* status);
    
    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)
  5. tensorflow/c/experimental/filesystem/plugins/windows/windows_filesystem.cc

    ==============================================================================*/
    #include <stdlib.h>
    #include <string.h>
    
    #include "tensorflow/c/experimental/filesystem/filesystem_interface.h"
    #include "tensorflow/c/tf_status.h"
    
    // Implementation of a filesystem for POSIX environments.
    // This filesystem will support `file://` and empty (local) URI schemes.
    
    static void* plugin_memory_allocate(size_t size) { return calloc(1, size); }
    C++
    - Registered: Tue Apr 09 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:21:15 GMT 2022
    - 2.6K bytes
    - Viewed (0)
  6. tensorflow/c/eager/custom_device_test.cc

      op.reset(TFE_NewOp(context.get(), "DestroyResourceOp", status.get()));
      TFE_OpAddInput(op.get(), var_handle, status.get());
      TFE_OpSetDevice(op.get(), name, status.get());
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      num_retvals = 0;
      TFE_Execute(op.get(), nullptr, &num_retvals, status.get());
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
    }
    
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 18.4K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/grappler/grappler.cc

        if (!s.ok()) {
          tsl::Set_TF_Status_from_Status(status, s);
          return;
        }
      }
    }
    
    TF_FunctionLibraryDefinition* TF_NewFunctionLibraryDefinition(
        const TF_Buffer* graph_buf, TF_Status* status) {
      TF_SetStatus(status, TF_OK, "");
      tensorflow::GraphDef graph_def;
      absl::Status s = tensorflow::BufferToMessage(graph_buf, &graph_def);
      if (!s.ok()) {
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 15K bytes
    - Viewed (1)
  8. tensorflow/c/eager/dlpack.cc

      }
    }
    
    void* TFE_HandleToDLPack(TFE_TensorHandle* h, TF_Status* status) {
      auto tf_dlm_context = GetDlContext(h, status);
      if (!status->status.ok()) {
        return nullptr;
      }
    
      auto* tf_dlm_data = TFE_TensorHandleDevicePointer(h, status);
      if (!status->status.ok()) {
        return nullptr;
      }
    
      const Tensor* tensor = GetTensorFromHandle(h, status);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/gradients/array_grad_test.cc

     protected:
      void SetUp() override {
        TF_StatusPtr status(TF_NewStatus());
        TF_SetTracingImplementation(std::get<0>(GetParam()), status.get());
        status_ = StatusFromTF_Status(status.get());
        ASSERT_EQ(errors::OK, status_.code()) << status_.message();
    
        {
          AbstractContext* ctx_raw = nullptr;
          status_ =
              BuildImmediateExecutionContext(std::get<1>(GetParam()), &ctx_raw);
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5K bytes
    - Viewed (0)
  10. tensorflow/c/BUILD

    tf_cuda_library(
        name = "tf_status_helper",
        srcs = ["tf_status_helper.cc"],
        hdrs = ["tf_status_helper.h"],
        visibility = ["//visibility:public"],
        deps = [
            ":tf_status_headers",
            "@local_tsl//tsl/platform:status",
            "@local_xla//xla/tsl/c:tsl_status_helper",
        ],
    )
    
    tf_cc_test(
        name = "tf_status_helper_test",
        srcs = ["tf_status_helper_test.cc"],
        deps = [
    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)
Back to top