Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 63 for device_str (0.19 sec)

  1. tensorflow/compiler/mlir/tensorflow/utils/fake_session.cc

    #include <memory>
    #include <string>
    #include <utility>
    #include <vector>
    
    #include "absl/strings/match.h"
    #include "llvm/Support/CommandLine.h"
    #include "tensorflow/core/common_runtime/device_mgr.h"
    #include "tensorflow/core/common_runtime/threadpool_device.h"
    #include "tensorflow/core/framework/allocator.h"
    #include "tensorflow/core/framework/device_attributes.pb.h"
    #include "tensorflow/core/framework/device_factory.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Feb 26 03:47:51 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/transforms/lift_variables.cc

    #include "tensorflow/compiler/mlir/tensorflow/ir/tf_saved_model.h"
    #include "tensorflow/compiler/mlir/tensorflow/utils/convert_tensor.h"
    #include "tensorflow/core/common_runtime/device.h"
    #include "tensorflow/core/common_runtime/device_mgr.h"
    #include "tensorflow/core/framework/resource_mgr.h"
    #include "tensorflow/core/framework/resource_var.h"
    #include "tensorflow/core/framework/tensor.h"
    #include "tensorflow/core/platform/errors.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 23 09:05:47 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api.cc

          &devices);
      if (!status->status.ok()) return nullptr;
      std::unique_ptr<tensorflow::DeviceMgr> device_mgr(
          new tensorflow::DynamicDeviceMgr(std::move(devices)));
    
      auto r = tsl::core::RefCountPtr<tensorflow::IntraProcessRendezvous>(
          new tensorflow::IntraProcessRendezvous(device_mgr.get()));
      tensorflow::EagerContext* eager_context = new tensorflow::EagerContext(
          opts->session_options.options,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 09 08:11:23 UTC 2024
    - 44K bytes
    - Viewed (0)
  4. tensorflow/compiler/jit/device_util.h

          absl::string_view device_name) {
        TF_ASSIGN_OR_RETURN(DeviceId device_id, GetIdFor(device_name));
        return std::cref(*id_to_device_type_[device_id.id()]);
      }
    
      string DebugString(const DeviceSet& device_set) const;
    
     private:
      absl::flat_hash_map<string, DeviceId> name_to_id_;
    
      // These fields are populated for a device in GetIdFor, *before* we give out a
      // DeviceId.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed May 15 17:18:31 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_with_tf2xla.cc

    #include "xla/client/xla_builder.h"
    #include "xla/mlir_hlo/mhlo/IR/hlo_ops.h"
    #include "tensorflow/core/common_runtime/device.h"
    #include "tensorflow/core/common_runtime/device_factory.h"
    #include "tensorflow/core/common_runtime/device_mgr.h"
    #include "tensorflow/core/common_runtime/process_function_library_runtime.h"
    #include "tensorflow/core/framework/allocator.h"
    #include "tensorflow/core/framework/function.h"
    #include "tensorflow/core/framework/function.pb.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_device.cc

      ReplicateOp op = *this;
      int32_t n = op.getN();
    
      // Check number of devices, if set, matches `n`.
      if (op.getDevices().has_value()) {
        for (auto device_attr : op.getDevices().value().getValue()) {
          auto device_list =
              mlir::dyn_cast_or_null<ArrayAttr>(device_attr.getValue());
          if (!device_list)
            return op.emitError()
                   << "expects 'devices' to be a map alias and device name list.";
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  7. tensorflow/c/eager/c_api_distributed_test.cc

          : error_node_(error_node), error_device_(error_device) {}
      tensorflow::Status Run(const std::string& function_name,
                             const tensorflow::DeviceSet& device_set,
                             const tensorflow::ConfigProto& config_proto,
                             const FunctionOptions& function_options,
                             std::unique_ptr<tensorflow::Graph>* graph,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 15 09:49:45 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/jit/encapsulate_subgraphs_pass.cc

      }
    
      std::unique_ptr<DeviceMgr> device_mgr =
          std::make_unique<StaticDeviceMgr>(std::move(devices));
      const auto* config = &options.session_options->config;
      std::unique_ptr<ProcessFunctionLibraryRuntime> pflr(
          new ProcessFunctionLibraryRuntime(
              device_mgr.get(), options.session_options->env,
              /*config=*/config, TF_GRAPH_DEF_VERSION, library,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 51K bytes
    - Viewed (0)
  9. tensorflow/compiler/jit/mark_for_compilation_pass.cc

      void VLogClusteringSummary();
    
      Cluster* MakeNewCluster(int cycles_graph_node_id, int effective_cluster_size,
                              bool has_functional_control_flow,
                              const DeviceSet& device_set,
                              std::optional<DeviceId> resource_op_device,
                              std::optional<int> resource_var_operation_node_id,
                              std::optional<DeadnessPredicate> deadness_predicate,
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  10. tensorflow/compiler/jit/encapsulate_subgraphs_pass_test.cc

      TF_CHECK_OK(DeviceFactory::AddDevices(
          session_options, "/job:localhost/replica:0/task:0", &devices));
      OptimizerOptions opts;
      auto device_mgr = std::make_unique<StaticDeviceMgr>(std::move(devices));
      auto pflr = std::make_unique<ProcessFunctionLibraryRuntime>(
          device_mgr.get(), Env::Default(), /*config=*/nullptr,
          TF_GRAPH_DEF_VERSION, lib_def.get(), opts,
          /*default_thread_pool=*/nullptr, /*cluster_flr=*/nullptr);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 113.3K bytes
    - Viewed (0)
Back to top