Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for service (0.21 sec)

  1. tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc

    #include "tensorflow/c/eager/parallel_device/parallel_device_lib.h"
    
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/c_api_experimental.h"
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/c_api_experimental.h"
    #include "tensorflow/c/eager/parallel_device/parallel_device_testlib.h"
    #include "tensorflow/c/eager/tfe_context_internal.h"
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 15.3K bytes
    - Viewed (0)
  2. tensorflow/c/experimental/next_pluggable_device/c_api.cc

    #include "tensorflow/core/tfrt/common/pjrt_util.h"
    #include "tsl/distributed_runtime/coordination/coordination_service_agent.h"
    
    TF_Device* TF_GetDevice(TF_OpKernelContext* ctx) {
      auto* cc_ctx = reinterpret_cast<tensorflow::OpKernelContext*>(ctx);
      return reinterpret_cast<TF_Device*>(cc_ctx->device());
    }
    
    // --------------------------  Resource  ---------------------------------------
    C++
    - Registered: Tue Feb 27 12:39:08 GMT 2024
    - Last Modified: Tue Jan 09 00:52:04 GMT 2024
    - 13.9K bytes
    - Viewed (1)
  3. tensorflow/c/eager/custom_device_test.cc

    // A simple logging device to test custom device registration.
    #include <memory>
    
    #include "absl/strings/match.h"
    #include "tensorflow/c/c_api.h"
    #include "tensorflow/c/eager/c_api.h"
    #include "tensorflow/c/eager/c_api_experimental.h"
    #include "tensorflow/c/eager/c_api_test_util.h"
    #include "tensorflow/c/eager/custom_device_testutil.h"
    #include "tensorflow/c/tf_status.h"
    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)
  4. tensorflow/c/eager/c_api_experimental.cc

    #include "xla/tsl/c/tsl_status_internal.h"
    #include "xla/tsl/distributed_runtime/coordination/coordination_service_agent.h"
    #include "tensorflow/core/common_runtime/composite_device.h"
    #include "tensorflow/core/common_runtime/device.h"
    #include "tensorflow/core/common_runtime/eager/eager_operation.h"
    #include "tensorflow/core/distributed_runtime/coordination/coordination_service_error_util.h"
    #include "tensorflow/core/framework/function.h"
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  5. tensorflow/c/eager/dlpack.cc

      DLDevice ctx;
      const char* device_name =
          tensorflow::unwrap(h)->BackingDeviceName(&status->status);
      DeviceNameUtils::ParsedName parsed_name;
      tensorflow::DeviceNameUtils::ParseFullName(device_name, &parsed_name);
      std::string device_type = parsed_name.type;
      int device_id = 0;
      if (parsed_name.has_id) {
        device_id = parsed_name.id;
      }
    
      ctx.device_id = device_id;
      if (device_type == "CPU") {
    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)
  6. tensorflow/c/c_test_util.cc

    }
    
    // If `op_device` is non-empty, set the created op on that device.
    void BinaryOpHelper(const char* op_name, TF_Operation* l, TF_Operation* r,
                        TF_Graph* graph, TF_Status* s, const char* name,
                        TF_Operation** op, const string& op_device, bool check) {
      TF_OperationDescription* desc = TF_NewOperation(graph, op_name, name);
      if (!op_device.empty()) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
  7. tensorflow/c/experimental/grappler/grappler.cc

      TF_RETURN_IF_ERROR(ValidateTPOptimizerConfigs(optimizer_configs));
    
      CGraphOptimizerRegister(
          [=]() { return new CGraphOptimizer(optimizer, params.device_type); },
          optimizer_configs, params.device_type);
    
      return absl::OkStatus();
    }
    
    }  // namespace grappler
    }  // namespace tensorflow
    
    void TF_GetNodesToPreserveListSize(const TF_GrapplerItem* item, int* num_values,
    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/gradients.cc

    namespace internal {
    Status Reset(AbstractOperation* op_, const char* op,
                 const char* raw_device_name, ForwardOperation* forward_op_) {
      forward_op_->op_name = op;
      forward_op_->attrs.Reset(op);
      return op_->Reset(op, raw_device_name);
    }
    Status AddInput(AbstractOperation* op_, AbstractTensorHandle* input,
                    ForwardOperation* forward_op_) {
    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)
  9. tensorflow/c/eager/parallel_device/parallel_device.cc

                                const char* const* underlying_devices,
                                int num_underlying_devices,
                                TFE_CustomDevice* device, void** device_info) {
      device->copy_tensor_to_device = &CopyToParallelDevice;
      device->copy_tensor_from_device = &CopyTensorFromParallelDevice;
      device->delete_device = &DeleteParallelDevice;
      device->execute = &ParallelDeviceExecute;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Mar 29 22:05:31 GMT 2023
    - 18.3K bytes
    - Viewed (0)
  10. tensorflow/c/eager/parallel_device/parallel_device_test.cc

      const char* device_name = "/job:localhost/replica:0/task:0/device:CUSTOM:0";
      const char* first_device_name =
          "/job:localhost/replica:0/task:0/device:CPU:0";
      const char* second_device_name =
          "/job:localhost/replica:0/task:0/device:CPU:1";
      std::array<const char*, 2> underlying_devices{first_device_name,
                                                    second_device_name};
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 29.3K bytes
    - Viewed (1)
Back to top