Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for hosts (0.15 sec)

  1. ci/official/containers/linux_arm64/devel.usertools/aarch64.bazelrc

    # > TF's gen_api_init_files has a genrule to run the core TensorFlow code
    # > on the host machine. If we don't have --distinct_host_configuration=false,
    # > the core TensorFlow code will be built once for the host and once for the
    # > target platform.
    # See also https://docs.bazel.build/versions/master/guide.html#build-configurations-and-cross-compilation
    build --distinct_host_configuration=false
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_test.cc

        const tensorflow::ServerDef& cluster_server_def, int task_index) {
      tensorflow::ServerDef single_host_server_def;
      single_host_server_def.set_job_name("worker");
      single_host_server_def.set_protocol(cluster_server_def.protocol());
      single_host_server_def.set_task_index(0);
      tensorflow::ClusterDef* cluster_def =
          single_host_server_def.mutable_cluster();
      tensorflow::JobDef* job_def = cluster_def->add_job();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  3. 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)
  4. ci/official/containers/linux_arm64/devel.usertools/aarch64_clang.bazelrc

    # > TF's gen_api_init_files has a genrule to run the core TensorFlow code
    # > on the host machine. If we don't have --distinct_host_configuration=false,
    # > the core TensorFlow code will be built once for the host and once for the
    # > target platform.
    # See also https://docs.bazel.build/versions/master/guide.html#build-configurations-and-cross-compilation
    build --distinct_host_configuration=false
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  5. tensorflow/c/eager/c_api.h

    // Returns the number of elements in dimension `dim_index`.
    // Tensor representation on device can be transposed from its representation
    // on host. The data contained in dimension `dim_index` on device
    // can correspond to the data contained in another dimension in on-host
    // representation. The dimensions are indexed using the standard TensorFlow
    // major-to-minor order (slowest varying dimension first),
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  6. 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)
  7. tensorflow/c/c_api_function_test.cc

      EXPECT_EQ(TF_GraphNumFunctions(host_graph_), 1);
      EXPECT_EQ(TF_GraphGetFunctions(host_graph_, funcs, 0, s_), 0);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      EXPECT_EQ(TF_GraphGetFunctions(host_graph_, funcs, 1, s_), 1);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      AssertEqual(func0, funcs[0]);
      TF_DeleteFunction(funcs[0]);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
  8. ci/official/utilities/setup_docker.sh

    if [[ "$TFCI_DOCKER_PULL_ENABLE" == 1 ]]; then
      # Simple retry logic for docker-pull errors. Sleeps for 15s if a pull fails.
      # Pulling an already-pulled container image will finish instantly, so
      # repeating the command costs nothing.
      docker pull "$TFCI_DOCKER_IMAGE" || sleep 15
      docker pull "$TFCI_DOCKER_IMAGE" || sleep 15
      docker pull "$TFCI_DOCKER_IMAGE"
    fi 
    
    if [[ "$TFCI_DOCKER_REBUILD_ENABLE" == 1 ]]; then
    Shell Script
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Jan 26 15:27:59 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top