Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for grads (0.18 sec)

  1. tensorflow/c/c_api_function_test.cc

      std::vector<std::pair<string, string>> grads = GetGradDefs(gdef);
      ASSERT_EQ(2, grads.size());
      ASSERT_EQ("FooFunc1", grads[0].first);
      ASSERT_EQ("MyGrad", grads[0].second);
      ASSERT_EQ("FooFunc2", grads[1].first);
      ASSERT_EQ("MyGrad", grads[1].second);
    
      TF_DeleteFunction(func1);
      TF_DeleteFunction(func2);
      TF_DeleteFunction(grad_func);
    }
    
    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)
  2. tensorflow/c/c_api_test.cc

        TF_DeleteStatus(s_);
      }
    
      void TestGradientsSuccess(bool grad_inputs_provided) {
        TF_Output inputs[2];
        TF_Output outputs[1];
        TF_Output grad_outputs[2];
        TF_Output expected_grad_outputs[2];
    
        BuildSuccessGraph(inputs, outputs);
        BuildExpectedGraph(grad_inputs_provided, expected_grad_outputs);
    
        AddGradients(grad_inputs_provided, nullptr, inputs, 2, outputs, 1,
    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)
  3. tensorflow/c/c_api.h

    // Adds a copy of function `func` and optionally its gradient function `grad`
    // to `g`. Once `func`/`grad` is added to `g`, it can be called by creating
    // an operation using the function's name.
    // Any changes to `func`/`grad` (including deleting it) done after this method
    // returns, won't affect the copy of `func`/`grad` in `g`.
    // If `func` or `grad` are already in `g`, TF_GraphCopyFunction has no
    C
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Oct 26 21:08:15 GMT 2023
    - 82.3K bytes
    - Viewed (3)
  4. configure.py

        # Due to a known MSVC compiler issue
        # https://github.com/tensorflow/tensorflow/issues/10521
        # Overriding eigen strong inline speeds up the compiling of
        # conv_grad_ops_3d.cc and conv_ops_3d.cc by 20 minutes,
        # but this also hurts the performance. Let users decide what they want.
        write_to_bazelrc('build --define=override_eigen_strong_inline=true')
    
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 18:25:36 GMT 2024
    - 53.8K bytes
    - Viewed (0)
Back to top