Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for hosts (0.13 sec)

  1. tensorflow/c/eager/c_api_experimental_test.cc

        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        TFE_TensorHandle* on_host =
            TFE_TensorHandleCopyToDevice(copy_aliased, ctx, "CPU:0", status);
        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        TF_Tensor* resolved = TFE_TensorHandleResolve(on_host, status);
        CHECK_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
        const float* resolved_data =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 03:14:26 GMT 2023
    - 31.5K bytes
    - Viewed (1)
  2. tensorflow/c/eager/c_api_experimental.h

        int num_dims, void* data, size_t len,
        void (*deallocator)(void* data, size_t len, void* arg),
        void* deallocator_arg, TF_Status* status);
    
    // Retrieves the address space (i.e. job, replia, task) of the local host and
    // saves it in the buffer.
    TF_CAPI_EXPORT extern void TFE_HostAddressSpace(TFE_Context* ctx,
                                                    TF_Buffer* buf);
    
    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)
  3. tensorflow/c/eager/immediate_execution_context.h

      // Find and return a function record added by its name.
      virtual core::RefCountPtr<FunctionRecord> FindRecord(
          const string& name) const = 0;
    
      // Return the ParsedName of Host CPU device.
      virtual const DeviceNameUtils::ParsedName& HostCPUParsedName() const = 0;
      virtual const string& HostCPUName() const = 0;
    
      // Configure soft device placement policy.
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 06 08:34:00 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  4. tensorflow/c/eager/c_api_test_util.cc

    }
    
    void ReplaceTaskInServerDef(tensorflow::ServerDef* server_def, int task_index,
                                const string& host, int port) {
      tensorflow::JobDef* job_def = server_def->mutable_cluster()->mutable_job(0);
      job_def->mutable_tasks()->at(task_index) =
          tensorflow::strings::StrCat(host, ":", port);
    }
    
    std::vector<std::string> ListDeviceNames(TFE_Context* ctx) {
      TF_Status* status = TF_NewStatus();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Feb 21 22:37:46 GMT 2024
    - 23.5K bytes
    - Viewed (2)
  5. tensorflow/c/eager/c_api_experimental.cc

      (*sess_options.config.mutable_device_count())["CPU"] = num_cpus;
      status->status =
          tensorflow::DeviceFactory::AddCpuDevices(sess_options, prefix, &devices);
    
      // Remove the device that has the host device name since host device is alreay
      // in an initialized context.
      for (auto d = devices.begin(); d != devices.end();) {
        if (absl::StrContains(d->get()->name(), "CPU:0")) {
          d = devices.erase(d);
        } else {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 35.9K bytes
    - Viewed (3)
  6. ci/official/containers/linux_arm64/builder.devtoolset/stringop_trunc.patch

    +      __attribute_nonstring__;	/* Devicename.  */
    +    char ut_user[UT_NAMESIZE]
    +      __attribute_nonstring__;	/* Username.  */
     #define ut_name ut_user
    -    char ut_host[UT_HOSTSIZE];
    +    char ut_host[UT_HOSTSIZE]
    +      __attribute_nonstring__;	/* Hostname for remote login.  */
         long int ut_time;
       };
     
    diff --git a/misc/sys/cdefs.h b/misc/sys/cdefs.h
    index 30482a1..551d5fd 100644
    --- a/misc/sys/cdefs.h
    +++ b/misc/sys/cdefs.h
    Others
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 42.9K bytes
    - Viewed (1)
Back to top