Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for cout (0.21 sec)

  1. tensorflow/c/experimental/filesystem/modular_filesystem_test.cc

          tensorflow::Flag("tmp_dir", tensorflow::SetTmpDir, "",
                           "Temporary directory to store test data.")};
      if (!tensorflow::Flags::Parse(&argc, argv, flag_list)) {
        std::cout << tensorflow::Flags::Usage(argv[0], flag_list);
        return -1;
      }
    
      tensorflow::testing::InstallStacktraceHandler();
      tensorflow::ModularFileSystemTest::InitializeTestRNG();
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri May 27 20:25:58 GMT 2022
    - 71K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

    int TF_OperationOutputNumConsumers(TF_Output oper_out) {
      int count = 0;
      for (const auto* edge : oper_out.oper->node.out_edges()) {
        if (edge->src_output() == oper_out.index) {
          ++count;
        }
      }
      return count;
    }
    
    int TF_OperationOutputConsumers(TF_Output oper_out, TF_Input* consumers,
                                    int max_consumers) {
      int count = 0;
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  3. CONTRIBUTING.md

    you want to debug a kernel, you can compile specific files with `-g` using the
    `--per_file_copt` bazel option. For example, if you want to debug the Identity
    op, which are in files starting with `identity_op`, you can run
    
    ```bash
    bazel build --config=dbg --per_file_copt=+tensorflow/core/kernels/identity_op.*@-g //tensorflow/tools/pip_package:build_pip_package
    ```
    
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  4. tensorflow/c/eager/dlpack_test.cc

      EXPECT_EQ(dltensor_out->dtype.bits, dltensor_in->dtype.bits);
      EXPECT_EQ(dltensor_out->dtype.lanes, dltensor_in->dtype.lanes);
      for (int i = 0; i < dltensor_in->ndim; ++i) {
        EXPECT_EQ(dltensor_out->shape[i], dltensor_in->shape[i]);
        if (dltensor_out->strides) {
          if (i == dltensor_in->ndim - 1) {
            EXPECT_EQ(dltensor_out->strides[i], 1);
          } else {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Jun 30 03:04:46 GMT 2023
    - 4.4K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/devel.usertools/aarch64_clang.bazelrc

    build --profile=/tf/pkg/profile.json.gz
    
    # Use the rebuilt gcc toolchain to compile for manylinux2014
    build --crosstool_top="@ml2014_clang_aarch64_config_aarch64//crosstool:toolchain"
    
    build --copt="-mtune=generic" --copt="-march=armv8-a" --copt="-O3"
    
    # Test-related settings below this point.
    test --build_tests_only --keep_going --test_output=errors --verbose_failures=true
    test --test_timeout=500,900,-1,-1
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  6. tensorflow/c/eager/c_api.h

      TFE_DEVICE_PLACEMENT_EXPLICIT = 0,
      // Copy the tensor to the right device but log a warning.
      TFE_DEVICE_PLACEMENT_WARN = 1,
      // Silently copy the tensor, which has a performance cost since the operation
      // will be blocked till the copy completes. This is the default placement
      // policy.
      TFE_DEVICE_PLACEMENT_SILENT = 2,
      // Placement policy which silently copies int32 tensors but not other dtypes.
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Apr 27 21:07:00 GMT 2023
    - 22.8K bytes
    - Viewed (1)
  7. tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc

        std::array<TensorHandlePtr, 2> out_components;
        ExtractPerDeviceValues(context.get(), multiply_result.get(),
                               &out_components, status.get());
        ASSERT_TRUE(TF_GetCode(status.get()) == TF_OK) << TF_Message(status.get());
    
        ExpectScalarEq<float>(out_components[0].get(), 9.);
        ExpectScalarEq<float>(out_components[1].get(), 4.);
      }
    
      worker_server1.release();
    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)
  8. ci/official/containers/linux_arm64/devel.usertools/code_check_full.bats

        "@local_config_tensorrt//:tensorrt)" --keep_going > $BATS_TEST_TMPDIR/out
    
      cat <<EOF
    There was a path found connecting //tensorflow/tools/pip_package:build_pip_package
    to a banned CUDA dependency. Here's the output from bazel query:
    EOF
      cat $BATS_TEST_TMPDIR/out
      [[ ! -s $BATS_TEST_TMPDIR/out ]]
    }
    
    @test "Pip package doesn't depend on CUDA for static builds (i.e. Windows)" {
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  9. tensorflow/c/experimental/filesystem/plugins/gcs/gcs_helper.cc

      std::remove(name_.c_str());
    }
    
    const std::string TempFile::getName() const { return name_; }
    
    bool TempFile::truncate() {
      std::fstream::close();
      std::fstream::open(name_, std::ios::binary | std::ios::out);
      return std::fstream::is_open();
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Jun 26 14:56:58 GMT 2020
    - 1.3K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_unified_experimental.cc

      return *factories;
    }
    
    static tracing::FactoryFunction default_factory;
    
    void RegisterTracingEngineFactory(const string& name, FactoryFunction factory) {
      assert((!GetFactories().count(name)) ||
             (GetFactories()[name] == factory) &&
                 "Duplicate tracing factory registration");
      GetFactories()[name] = factory;
    }
    
    Status SetDefaultTracingEngine(const char* name) {
    C++
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Thu Feb 15 09:49:45 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top