Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for n_components (0.15 sec)

  1. CONTRIBUTING.md

    *   [Bash license example](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tools/ci_build/ci_build.sh#L2)
    *   [JavaScript/TypeScript license example](https://github.com/tensorflow/tensorboard/blob/master/tensorboard/components/tf_backend/backend.ts#L1)
    
    Bazel BUILD files also need to include a license section, e.g.,
    [BUILD example](https://github.com/tensorflow/tensorflow/blob/master/tensorflow/core/BUILD#L61).
    
    #### C++ coding style
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  2. ci/devinfra/docker_windows/Dockerfile

        [Environment]::SetEnvironmentVariable(\"JAVA_HOME\", $zulu_root, \"Machine\")
    
    # Install gcloud (install.bat installs directly into bin folder of extracted zip contents)
    # Install needed gcloud components
    RUN Add-Type -AssemblyName "System.IO.Compression.FileSystem"; \
        $pkg_url = \"https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-396.0.0-windows-x86_64.zip\"; \
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Fri Aug 18 17:24:20 GMT 2023
    - 13.6K bytes
    - Viewed (0)
  3. tensorflow/c/eager/parallel_device/parallel_device_test.cc

      components[0] = negative_one_cpu.get();
      components[1] = negative_one_cpu.get();
      TensorHandlePtr first_negative_one = CreatePerDeviceValues(
          context.get(), components, first_device_name, status.get());
      ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get());
      components[0] = first_negative_one.get();
      components[1] = negative_one_cpu.get();
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 08 23:47:35 GMT 2021
    - 29.3K bytes
    - Viewed (1)
  4. tensorflow/c/eager/parallel_device/parallel_device_lib.cc

        std::vector<TensorHandlePtr> components;
        components.reserve(underlying_devices_.size());
        for (int j = 0; j < underlying_devices_.size(); ++j) {
          components.push_back(std::move(per_device_output_tensors[j][i]));
        }
        if (expected_output_shapes[i].IsFullyDefined()) {
          per_device_outputs.push_back(ParallelTensor::FromTensorHandles(
              *this, std::move(components),
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Feb 09 07:47:20 GMT 2024
    - 25.4K bytes
    - Viewed (1)
  5. tensorflow/c/eager/parallel_device/parallel_device_testlib.cc

        std::array<TensorHandlePtr, 2> components;
        ExtractPerDeviceValues(context, read.get(), &components, status.get());
        ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
    
        ExpectScalarEq<float>(components[0].get(), 20.);
        ExpectScalarEq<float>(components[1].get(), 20.);
    
        std::string first_device =
            TFE_TensorHandleBackingDeviceName(components[0].get(), status.get());
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Jun 15 15:44:44 GMT 2021
    - 12.5K bytes
    - Viewed (0)
  6. tensorflow/c/eager/parallel_device/parallel_device_lib.h

      // devices of a ParallelDevice. If called, ParallelTensor::Shape inspects
      // `components` to determine a shape.
      static std::unique_ptr<ParallelTensor> FromTensorHandles(
          const ParallelDevice& parallel_device,
          std::vector<TensorHandlePtr> components, TF_Status* status);
      // Uses the provided shape without additional checks, which avoids blocking
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Apr 25 15:21:13 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  7. tensorflow/c/eager/parallel_device/parallel_device.cc

              " inputs to TPUReplicatedInput, but got ", inputs.size()));
          TF_SetStatus(status, TF_INVALID_ARGUMENT, message.c_str());
          return result;
        }
        std::vector<TensorHandlePtr> components;
        components.reserve(inputs.size());
        for (int i = 0; i < inputs.size(); ++i) {
          if (absl::holds_alternative<ParallelTensor*>(inputs[i])) {
            std::string message(absl::StrCat(
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Mar 29 22:05:31 GMT 2023
    - 18.3K bytes
    - Viewed (0)
Back to top