Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for double (0.18 sec)

  1. tensorflow/c/experimental/gradients/grad_test_helper.h

        Model model, Model grad_model, AbstractContext* ctx,
        absl::Span<AbstractTensorHandle* const> inputs, bool use_function,
        double abs_error = 1e-2);
    
    void CheckTensorValue(AbstractTensorHandle* t, absl::Span<const float> manuals,
                          absl::Span<const int64_t> dims, double abs_error = 1e-2);
    
    Model BuildGradModel(Model forward, GradientRegistry registry);
    
    }  // namespace internal
    }  // namespace gradients
    C
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Thu Jan 14 20:36:51 GMT 2021
    - 1.5K bytes
    - Viewed (0)
  2. ci/official/containers/linux_arm64/builder.devtoolset/gcc9-fixups.patch

    index fcf956a..e2c5d29 100644
    --- a/sysdeps/ieee754/dbl-64/k_rem_pio2.c
    +++ b/sysdeps/ieee754/dbl-64/k_rem_pio2.c
    @@ -172,7 +172,8 @@ int __kernel_rem_pio2(double *x, double *y, int e0, int nx, int prec, const int3
     
         /* compute q[0],q[1],...q[jk] */
     	for (i=0;i<=jk;i++) {
    -	    for(j=0,fw=0.0;j<=jx;j++) fw += x[j]*f[jx+i-j]; q[i] = fw;
    Others
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Sep 18 14:52:45 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  3. ci/official/containers/linux_arm64/devel.usertools/aarch64.bazelrc

    build --action_env PYTHON_BIN_PATH="/usr/local/bin/python3"
    build --python_path="/usr/local/bin/python3"
    
    # Build TensorFlow v2
    build --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1
    
    # Prevent double-compilation of some TF code, ref. b/183279666 (internal)
    # > 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,
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  4. ci/official/containers/linux_arm64/devel.usertools/aarch64_clang.bazelrc

    # Build TensorFlow v2
    build --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1
    
    # Use lld as the linker
    build --linkopt="-fuse-ld=lld"
    build --linkopt="-lm"
    build --linkopt="-Wl,--undefined-version"
    
    # Prevent double-compilation of some TF code, ref. b/183279666 (internal)
    # > 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,
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Nov 21 12:25:39 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  5. tensorflow/c/c_api_test.cc

      TF_DeleteStatus(s);
    }
    
    TEST(CAPI, DataTypeEnum) {
      EXPECT_EQ(TF_FLOAT, static_cast<TF_DataType>(tensorflow::DT_FLOAT));
      EXPECT_EQ(TF_DOUBLE, static_cast<TF_DataType>(tensorflow::DT_DOUBLE));
      EXPECT_EQ(TF_INT32, static_cast<TF_DataType>(tensorflow::DT_INT32));
      EXPECT_EQ(TF_UINT8, static_cast<TF_DataType>(tensorflow::DT_UINT8));
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 96.9K bytes
    - Viewed (3)
  6. tensorflow/c/experimental/filesystem/modular_filesystem.cc

      return StatusFromTF_Status(plugin_status.get());
    }
    
    Status ModularFileSystem::SetOption(const std::string& name,
                                        const std::vector<double>& values) {
      if (ops_->set_filesystem_configuration == nullptr) {
        return errors::Unimplemented(
            "Filesystem does not support SetConfiguration()");
      }
      if (values.empty()) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Sep 06 19:12:29 GMT 2023
    - 23.1K bytes
    - Viewed (0)
  7. tensorflow/c/experimental/gradients/grad_test_helper.cc

    namespace gradients {
    namespace internal {
    
    void CompareNumericalAndAutodiffGradients(
        Model model, Model grad_model, AbstractContext* ctx,
        absl::Span<AbstractTensorHandle* const> inputs, bool use_function,
        double abs_error) {
      auto num_inputs = inputs.size();
      std::vector<AbstractTensorHandle*> outputs(num_inputs);
      auto s = RunModel(grad_model, ctx, inputs, absl::MakeSpan(outputs),
                        /*use_function=*/use_function);
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 5K bytes
    - Viewed (0)
  8. tensorflow/c/eager/c_api_unified_experimental_test.cc

    TEST_P(UnifiedCAPI, TestBasicGraph) {
      std::unique_ptr<TF_Status, decltype(&TF_DeleteStatus)> status(
          TF_NewStatus(), TF_DeleteStatus);
    
      // Start a new function / execution context.
      string fn_name = "double";
      TF_ExecutionContext* graph_ctx =
          TF_CreateFunction(fn_name.c_str(), status.get());
      ASSERT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
    
      auto* placeholder_t =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri May 19 21:44:52 GMT 2023
    - 39.1K bytes
    - Viewed (0)
  9. tensorflow/c/c_test_util.cc

      return TF_NewTensor(TF_INT32, nullptr, 0, values, num_bytes,
                          &Int32Deallocator, nullptr);
    }
    
    TF_Tensor* DoubleTensor(double v) {
      const int num_bytes = sizeof(double);
      double* values = new double[1];
      values[0] = v;
      return TF_NewTensor(TF_DOUBLE, nullptr, 0, values, num_bytes,
                          &DoubleDeallocator, nullptr);
    }
    
    TF_Tensor* FloatTensor(float v) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Fri Oct 15 03:16:52 GMT 2021
    - 17.8K bytes
    - Viewed (2)
  10. tensorflow/c/c_test_util.h

    // Create 1 dimensional tensor with values from `values`
    TF_Tensor* Int32Tensor(const std::vector<int32_t>& values);
    
    TF_Tensor* Int32Tensor(int32_t v);
    
    TF_Tensor* DoubleTensor(double v);
    
    TF_Tensor* FloatTensor(float v);
    
    TF_Operation* Placeholder(TF_Graph* graph, TF_Status* s,
                              const char* name = "feed",
                              TF_DataType dtype = TF_INT32,
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 09 01:06:53 GMT 2018
    - 6K bytes
    - Viewed (0)
Back to top