Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Mask (0.18 sec)

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

      EXPECT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
    
      const char* first_device = "/job:worker/replica:0/task:1/device:CPU:0";
      const char* second_device = "/job:worker/replica:0/task:2/device:CPU:0";
      const char* device_name = "/job:localhost/replica:0/task:0/device:CUSTOM:0";
      std::array<const char*, 2> underlying_devices{first_device, second_device};
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 22:09:57 GMT 2023
    - 6.7K bytes
    - Viewed (0)
  2. tensorflow/c/eager/immediate_execution_distributed_manager.h

      // tasks to initialize the eager context and TF server for multi-client
      // execution.
      virtual Status EnableCollectiveOps(const ServerDef& server_def) = 0;
    
      // Check if the remote task is alive.
      virtual Status CheckRemoteAlive(const std::string& remote_task_name,
                                      bool* is_alive) = 0;
    
      // Get pointer to the coordination service agent instance.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  3. CODE_OF_CONDUCT.md

    If you are experiencing or witnessing conflict, we ask you to use the following escalation strategy to address the conflict:
    
    1.  Address the perceived conflict directly with those involved, preferably in a
        real-time medium.
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Feb 05 18:43:16 GMT 2021
    - 5.2K bytes
    - Viewed (0)
  4. tensorflow/c/eager/abstract_operation.h

      // chosen for the operation by the device placement logic in the
      // executor. After that, the value returned by DeviceName will be a full
      // device name such as "/job:localhost/replica:0/task:0/device:GPU:1".
      virtual const string& DeviceName() const = 0;
    
      // Sets the operation device name.
      //
      // The given `name` must be parseable by DeviceNameUtils::ParseFullName, and
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Jul 14 16:20:41 GMT 2021
    - 6.8K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api_experimental_test.cc

      // 3. Replace worker1 with a new worker in server_def_0 and server_def_1.
      ReplaceTaskInServerDef(&server_def_0, /*task_index=*/1, "localhost", port);
      ReplaceTaskInServerDef(&server_def_1, /*task_index=*/1, "localhost", port);
      // 4. Start a new task to replace worker1.
      server_def_0.set_task_index(1);
      worker_server1.release();
      ASSERT_TRUE(tensorflow::GrpcServer::Create(
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  6. tensorflow/c/eager/c_api_test.cc

      tensorflow::JobDef* job_def2 = cluster_def->add_job();
      job_def2->set_name("worker");
    
      // Copy over `host:port` at `task_index`
      for (auto task : cluster_server_def.cluster().job(0).tasks()) {
        if (task.first == task_index) {
          job_def2->mutable_tasks()->insert({task.first, task.second});
        }
      }
    
      return single_host_server_def;
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  7. RELEASE.md

                `use_causal_mask=True` will compute a causal attention mask, and
                optionally combine it with any `attention_mask` passed in directly
                when calling the layer.
        *   Added `ignore_class` argument in the loss
            `SparseCategoricalCrossentropy` and metrics `IoU` and `MeanIoU`, to
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Apr 03 20:27:38 GMT 2024
    - 727.4K bytes
    - Viewed (8)
  8. tensorflow/c/eager/c_api_cluster_test.cc

    namespace {
    
    using ::tensorflow::string;
    
    void ReplaceTaskInServerDef(tensorflow::ServerDef* server_def, int task_index) {
      tensorflow::JobDef* job_def = server_def->mutable_cluster()->mutable_job(0);
      int port = tensorflow::testing::PickUnusedPortOrDie();
      job_def->mutable_tasks()->at(task_index) =
          tensorflow::strings::StrCat("localhost:", port);
    }
    
    void CheckTFE_TensorHandleHasFloats(TFE_TensorHandle* handle,
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Apr 14 10:03:59 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  9. tensorflow/c/eager/parallel_device/parallel_device_lib_test.cc

      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
    
      std::vector<std::string> devices{
          "/job:localhost/replica:0/task:0/device:CPU:0",
          "/job:localhost/replica:0/task:0/device:CPU:1"};
      ParallelDevice parallel_device(std::move(devices));
      std::unique_ptr<TFE_Op, decltype(&TFE_DeleteOp)> handle_op(
    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)
  10. tensorflow/c/eager/c_api_remote_test.cc

    namespace {
    
    using ::tensorflow::string;
    
    void TestRemoteExecute(bool async) {
      tensorflow::ServerDef server_def = GetServerDef(2);
    
      // This server def has the task index set to 0.
      string serialized = server_def.SerializeAsString();
    
      server_def.set_task_index(1);
    
      std::unique_ptr<tensorflow::GrpcServer> worker_server;
      ASSERT_TRUE(tensorflow::GrpcServer::Create(
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Aug 12 00:14:22 GMT 2020
    - 5.4K bytes
    - Viewed (0)
Back to top