Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for Rendle (0.17 sec)

  1. tensorflow/c/eager/abstract_tensor_handle.h

    limitations under the License.
    ==============================================================================*/
    #ifndef TENSORFLOW_C_EAGER_ABSTRACT_TENSOR_HANDLE_H_
    #define TENSORFLOW_C_EAGER_ABSTRACT_TENSOR_HANDLE_H_
    
    #include <memory>
    
    #include "tensorflow/core/framework/full_type.pb.h"
    #include "tensorflow/core/framework/tensor_shape.h"
    #include "tensorflow/core/framework/types.pb.h"
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Mar 03 00:30:36 GMT 2023
    - 3K bytes
    - Viewed (0)
  2. tensorflow/c/eager/immediate_execution_tensor_handle.cc

    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/c/eager/immediate_execution_tensor_handle.h"
    
    namespace tensorflow {
    
    std::string ImmediateExecutionTensorHandle::DebugString() const {
      PartialTensorShape shape;
      std::string shape_string;
      if (Shape(&shape).ok()) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  3. tensorflow/c/eager/immediate_execution_tensor_handle.h

    limitations under the License.
    ==============================================================================*/
    #ifndef TENSORFLOW_C_EAGER_IMMEDIATE_EXECUTION_TENSOR_HANDLE_H_
    #define TENSORFLOW_C_EAGER_IMMEDIATE_EXECUTION_TENSOR_HANDLE_H_
    
    #include "tensorflow/c/eager/abstract_tensor_handle.h"
    #include "tensorflow/c/tensor_interface.h"
    #include "tensorflow/core/framework/types.pb.h"
    #include "tensorflow/core/platform/status.h"
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Mar 10 21:56:24 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  4. tensorflow/c/env.cc

    void TF_CloseWritableFile(TF_WritableFileHandle* handle, TF_Status* status) {
      auto* cc_file = reinterpret_cast<::tensorflow::WritableFile*>(handle);
      TF_SetStatus(status, TF_OK, "");
      ::tensorflow::Set_TF_Status_from_Status(status, cc_file->Close());
      delete cc_file;
    }
    
    void TF_SyncWritableFile(TF_WritableFileHandle* handle, TF_Status* status) {
      auto* cc_file = reinterpret_cast<::tensorflow::WritableFile*>(handle);
      TF_SetStatus(status, TF_OK, "");
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 11 01:20:50 GMT 2021
    - 7K bytes
    - Viewed (0)
  5. tensorflow/c/eager/tfe_tensorhandle_internal.h

    #include "tensorflow/c/conversion_macros.h"
    #include "tensorflow/c/eager/immediate_execution_tensor_handle.h"
    
    // Wraps a pointer to a tensor handle implementation.
    //
    // WARNING: Since the underlying object could be ref-counted a user of this
    // interface cannot destruct the underlying handle object. Instead, call
    // TFE_DeleteTensorHandle who calls Release() on the handle pointer and deletes
    // the TFE_TensorHandle structure.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jun 17 19:39:13 GMT 2020
    - 1.6K bytes
    - Viewed (0)
  6. tensorflow/c/eager/custom_device_test.cc

      TFE_TensorHandle* var_handle = nullptr;
      int num_retvals = 1;
      executed = false;
      TFE_Execute(op.get(), &var_handle, &num_retvals, status.get());
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      ASSERT_TRUE(executed);
      auto handle_cleaner = tensorflow::gtl::MakeCleanup(
          [var_handle]() { TFE_DeleteTensorHandle(var_handle); });
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 27 23:39:24 GMT 2020
    - 18.4K bytes
    - Viewed (0)
  7. tensorflow/c/eager/dlpack.cc

    };
    
    // Gets tensor from eager tensor handle.
    const Tensor* GetTensorFromHandle(TFE_TensorHandle* h, TF_Status* status) {
      if (h == nullptr) {
        status->status = tensorflow::errors::InvalidArgument("Invalid handle");
        return nullptr;
      }
      tensorflow::TensorHandle* handle =
          tensorflow::TensorHandleFromInterface(tensorflow::unwrap(h));
      if (handle->Type() != TensorHandle::LOCAL) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 12.8K bytes
    - Viewed (0)
  8. tensorflow/c/env_test.cc

            ::tensorflow::io::JoinPath(dirpath, "somefile.txt");
        TF_WritableFileHandle* handle;
        TF_NewWritableFile(filepath.c_str(), &handle, s);
        ASSERT_TF_OK(s) << "NewWritableFile failed for " << filepath << ": "
                        << TF_Message(s);
    
        const char* data = "Hello, world!\n";
        TF_AppendWritableFile(handle, data, strlen(data), s);
        ASSERT_TF_OK(s) << "TF_AppendWritableFile failed to append data to file at "
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Dec 10 20:52:48 GMT 2018
    - 4.2K bytes
    - Viewed (0)
  9. tensorflow/c/eager/gradients.cc

    }
    
    TapeTensor::TapeTensor(AbstractTensorHandle* handle) : handle_(handle) {
      handle_->Ref();
    }
    TapeTensor::TapeTensor(const TapeTensor& other) {
      handle_ = other.handle_;
      handle_->Ref();
    }
    TapeTensor::~TapeTensor() { handle_->Unref(); }
    
    int64_t TapeTensor::GetID() const { return ToId(handle_); }
    
    tensorflow::DataType TapeTensor::GetDType() const {
      return handle_->DataType();
    }
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  10. tensorflow/c/eager/immediate_execution_operation.h

    #include <memory>
    
    #include "absl/types/optional.h"
    #include "absl/types/span.h"
    #include "tensorflow/c/eager/abstract_operation.h"
    #include "tensorflow/c/eager/immediate_execution_tensor_handle.h"
    #include "tensorflow/c/tensor_interface.h"
    #include "tensorflow/core/framework/cancellation.h"
    #include "tensorflow/core/framework/device_attributes.pb.h"
    #include "tensorflow/core/framework/op_def.pb.h"
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 26 22:40:32 GMT 2022
    - 3.6K bytes
    - Viewed (0)
Back to top