- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 16 for gradients_1 (0.08 seconds)
-
tensorflow/c/c_api_test.cc
BuildGraphAndAddGradientsWithPrefixes("scope/gradients", "scope/gradients_1"); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); } TEST_F(CApiGradientsTest, GradientsPrefix_TwoGradientsInDifferentScopes) { BuildGraphAndAddGradientsWithPrefixes("scope/gradients", "scope_1/gradients"); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); }
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 97.3K bytes - Click Count (0) -
tensorflow/c/eager/gradients.h
#include "tensorflow/c/eager/abstract_tensor_handle.h" #include "tensorflow/c/eager/tape.h" #include "tensorflow/core/common_runtime/eager/attr_builder.h" namespace tensorflow { namespace gradients { // =============== Experimental C++ API for computing gradients =============== // Sample gradient function: // // class AddGradientFunction : public GradientFunction { // public: // Status Compute(Context* ctx,Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 6.9K bytes - Click Count (0) -
tensorflow/c/eager/gradients.cc
See the License for the specific language governing permissions and limitations under the License. ==============================================================================*/ #include "tensorflow/c/eager/gradients.h" #include "absl/status/status.h" #include "absl/strings/str_cat.h" #include "tensorflow/c/eager/abstract_tensor_handle.h" #include "tensorflow/c/eager/c_api_unified_experimental_internal.h"
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Feb 24 06:18:31 GMT 2026 - 19.6K bytes - Click Count (0) -
tensorflow/c/eager/gradients_test.cc
#include "tensorflow/c/eager/gradients_internal.h" #include "tensorflow/c/eager/unified_api_testutil.h" #include "tensorflow/c/experimental/gradients/array_grad.h" #include "tensorflow/c/experimental/gradients/math_grad.h" #include "tensorflow/c/experimental/gradients/not_differentiable.h" #include "tensorflow/c/experimental/gradients/tape/tape_context.h" #include "tensorflow/c/experimental/ops/array_ops.h" #include "tensorflow/c/experimental/ops/math_ops.h"
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 7K bytes - Click Count (0) -
tensorflow/c/eager/gradient_checker_test.cc
#include "tensorflow/c/tf_status_helper.h" #include "tensorflow/c/tf_tensor.h" #include "tensorflow/core/platform/tensor_float_32_utils.h" #include "tensorflow/core/platform/test.h" namespace tensorflow { namespace gradients { namespace internal { namespace { using tensorflow::TF_StatusPtr; void CompareNumericalAndManualGradients( Model model, AbstractContext* ctx,Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 6.5K bytes - Click Count (0) -
tensorflow/c/eager/gradients_internal.h
==============================================================================*/ #ifndef TENSORFLOW_C_EAGER_GRADIENTS_INTERNAL_H_ #define TENSORFLOW_C_EAGER_GRADIENTS_INTERNAL_H_ #include "tensorflow/c/eager/gradients.h" namespace tensorflow { namespace gradients { namespace internal { // Helper functions which delegate to `AbstractOperation`, update // the state of the ForwardOperation and call the tape as appropriate.Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 4.7K bytes - Click Count (0) -
tensorflow/c/eager/gradient_checker.h
#include <memory> #include "absl/types/span.h" #include "tensorflow/c/eager/abstract_tensor_handle.h" #include "tensorflow/c/eager/unified_api_testutil.h" namespace tensorflow { namespace gradients { /* Returns numerical grad inside `dtheta_approx` given `forward` model and * parameter specified by `input_index`. * * I.e. if y = <output of the forward model> and w = inputs[input_index],
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 1.8K bytes - Click Count (0) -
tensorflow/c/eager/BUILD
":c_api_unified_internal", "//tensorflow/c/experimental/gradients/tape:tape_operation", "//tensorflow/core/lib/llvm_rtti", "//tensorflow/core/platform:errors", ], ) cc_library( name = "gradients_internal", srcs = [ "gradients.cc", ], hdrs = [ "gradients.h", "gradients_internal.h", ], visibility = [Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Feb 24 06:18:31 GMT 2026 - 33.3K bytes - Click Count (0) -
tensorflow/c/eager/gradient_checker.cc
#include "absl/types/span.h" #include "tensorflow/c/eager/abstract_tensor_handle.h" #include "tensorflow/c/experimental/ops/math_ops.h" #include "tensorflow/c/tf_tensor.h" namespace tensorflow { namespace gradients { using namespace std; // ================== Helper functions ================= // Fills data with values [start,end) with given step size. void Range(vector<int32_t>* data, int32_t start, int32_t end,Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 05:11:17 GMT 2024 - 7.3K bytes - Click Count (0) -
tensorflow/BUILD
"//tensorflow/c/eager:tfe_context_internal", "//tensorflow/c/eager:tfe_op_internal", "//tensorflow/c/eager:tfe_tensorhandle_internal", "//tensorflow/c/experimental/gradients", "//tensorflow/c/experimental/gradients/tape", "//tensorflow/c/experimental/next_pluggable_device:c_api", "//tensorflow/c/experimental/ops", "//tensorflow/c:c_api_experimental",Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Tue Mar 24 21:00:18 GMT 2026 - 53.1K bytes - Click Count (0)