Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Support (0.15 sec)

  1. tensorflow/c/eager/dlpack.cc

          tensorflow::TensorHandleFromInterface(tensorflow::unwrap(h));
      if (handle->Type() != TensorHandle::LOCAL) {
        status->status = tensorflow::errors::InvalidArgument(
            "DLPack doesn't support ", handle->TypeString(), " tensor");
        return nullptr;
      }
      const tensorflow::Tensor* tensor;
      status->status = handle->Tensor(&tensor);
      if (!status->status.ok()) {
        return nullptr;
      }
      return tensor;
    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)
  2. tensorflow/c/eager/gradients.cc

      for (int i = 0; i < *num_retvals; i++) {
        // TODO(srbs): Manage refcount of ForwardOperation's inputs/outputs.
        forward_op_->outputs.push_back(retvals[i]);
      }
      // TODO(b/166669239): This is needed to support AttrBuilder::Get for string
      // attributes. Number type attrs and DataType attrs work fine without this.
      // Consider getting rid of this and making the behavior between number types
      // and string consistent.
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  3. tensorflow/c/experimental/gradients/math_grad.cc

     public:
      Status Compute(AbstractContext* ctx,
                     absl::Span<AbstractTensorHandle* const> grad_outputs,
                     absl::Span<AbstractTensorHandle*> grad_inputs) override {
        // TODO(b/161805092): Support broadcasting.
    
        DCHECK(grad_outputs[0]);
        grad_inputs[0] = grad_outputs[0];
        grad_inputs[1] = grad_outputs[0];
    
        grad_inputs[0]->Ref();
        grad_inputs[1]->Ref();
        return absl::OkStatus();
      }
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_experimental.h

    //
    // This API is highly experimental, and in particular is expected to change when
    // it starts supporting operations with attributes and when tf.function support
    // is added.
    TF_CAPI_EXPORT extern void TFE_RegisterCustomDevice(TFE_Context* ctx,
                                                        TFE_CustomDevice device,
    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/BUILD

            "//tensorflow/core/platform:tstring",
            "@com_google_absl//absl/status",
            "@local_xla//xla/tsl/c:tsl_status",
        ] + select({
            "//tensorflow:with_xla_support": [
                "//tensorflow/compiler/jit",
                "//tensorflow/compiler/tf2xla:xla_compiler",
            ],
            "//conditions:default": [],
        }) + if_tensorrt([
    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)
  6. tensorflow/c/experimental/filesystem/plugins/posix/posix_filesystem.cc

    #include "tensorflow/c/tf_file_statistics.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); }
    static void plugin_memory_free(void* ptr) { free(ptr); }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Sun Mar 24 20:08:23 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api.cc

                                              int num_handles, TF_Status* status,
                                              void* device_info) {
      TF_SetStatus(status, TF_UNIMPLEMENTED,
                   "This custom device does not support packing tensors.");
      return nullptr;
    }
    }  // namespace
    
    extern "C" {
    
    bool TFE_IsCustomDevice(TFE_Context* ctx, const char* device_name) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 12 20:00:09 GMT 2024
    - 43.9K bytes
    - Viewed (2)
  8. tensorflow/c/eager/BUILD

                "//tensorflow/core/lib/llvm_rtti",
                "@com_google_absl//absl/types:variant",
            ],
        }) + select({
            "//tensorflow:with_xla_support": [
                "//tensorflow/compiler/jit",
                "//tensorflow/compiler/jit:xla_device",
                "//tensorflow/compiler/tf2xla:xla_compiler",
            ],
            "//conditions:default": [],
        }) + [
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 33.3K bytes
    - Viewed (0)
Back to top