Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for Mask (0.2 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/custom_device_test.cc

      TFE_OpReset(reused_op.get(), "Identity",
                  "/job:localhost/replica:0/task:0/device:CPU:0", status.get());
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
      ASSERT_EQ(tensorflow::string(TFE_OpGetDevice(reused_op.get(), status.get())),
                tensorflow::string("/job:localhost/replica:0/task:0/device:CPU:0"));
      ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
    }
    
    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)
  3. tensorflow/c/eager/c_api_distributed_test.cc

        // During execution:
        //   * task:0 processes main function `VariableAddFunctionWithGraphError`
        //     and places the 'read0_maybe_with_graph_error' op on task:2
        //   * task:0 partitions the main function with a subgraph containing
        //     'read0_maybe_with_graph_error' sent to task:2
        //   * task:2 graph pass reports an error when it sees
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_test.cc

      ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get());
    
      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,
    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)
  5. tensorflow/c/eager/custom_device_testutil.cc

      LoggingDevice* device = new LoggingDevice;
      device->arrived_flag = arrived_flag;
      device->executed_flag = executed_flag;
      device->device_name = name;
      device->underlying_device = "/job:localhost/replica:0/task:0/device:CPU:0";
      device->strict_scope_placement = strict_scope_placement;
      TFE_RegisterCustomDevice(context, custom_device, name, device, status);
    }
    
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Wed Mar 03 20:47:31 GMT 2021
    - 8.3K bytes
    - Viewed (0)
  6. tensorflow/c/eager/parallel_device/parallel_device_testlib.cc

      // Register the custom device
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
      const char* device_name = "/job:localhost/replica:0/task:0/device:CUSTOM:0";
      std::array<const char*, 2> underlying_devices{first_device, second_device};
      RegisterParallelDevice(context, device_name, underlying_devices,
                             status.get());
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Jun 15 15:44:44 GMT 2021
    - 12.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. tensorflow/c/c_api_experimental.cc

        TFE_Context* ctx, const char* task, int64_t timeout_in_ms,
        TF_Status* status) {
      tensorflow::EagerContext* context =
          tensorflow::ContextFromInterface(tensorflow::unwrap(ctx));
      auto collective_executor_handle = context->GetCollectiveExecutorHandle();
      tensorflow::Notification done;
      collective_executor_handle->get()->remote_access()->CheckPeerHealth(
          task, timeout_in_ms, [&done, status](const Status& s) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
Back to top