Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for gradient (0.06 seconds)

  1. tensorflow/c/eager/gradients.cc

      // Looks up the ID of a Gradient.
      int64_t TensorId(AbstractTensorHandle* tensor) const override;
    
      // Converts a Gradient to a TapeTensor.
      TapeTensor TapeTensorFromGradient(AbstractTensorHandle* g) const override;
    
      void MarkAsResult(AbstractTensorHandle* gradient) const override;
    
      void DeleteGradient(AbstractTensorHandle* gradient) const override;
    
     private:
    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)
  2. src/main/webapp/css/chat.css

        justify-content: center;
        padding: 3rem 2rem;
        text-align: center;
        height: 100%;
        background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
    }
    
    .empty-state-icon {
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: linear-gradient(135deg, #0052cc 0%, #2684ff 100%);
        display: flex;
        align-items: center;
        justify-content: center;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:21:57 GMT 2026
    - 19.4K bytes
    - Click Count (0)
  3. tensorflow/c/c_api_function_test.cc

          std::string(TF_Message(s_)));
    
      // Cannot change gradient
      TF_GraphCopyFunction(host_graph_, func_, grad_func1, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      TF_GraphCopyFunction(host_graph_, func_, grad_func2, s_);
      EXPECT_EQ(TF_INVALID_ARGUMENT, TF_GetCode(s_));
      EXPECT_EQ(std::string("Cannot assign gradient function 'MyGrad2' to 'MyFunc' "
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Wed Jan 07 04:56:09 GMT 2026
    - 63.9K bytes
    - Click Count (1)
  4. RELEASE.md

        tensorflow/contrib/solvers. Initial version has lanczos bidiagonalization,
        conjugate gradients and CGLS.
    *   Added gradients for `matrix_solve_ls` and `self_adjoint_eig`.
    *   Large cleanup to add second order gradient for ops with C++ gradients and
        improve existing gradients such that most ops can now be differentiated
        multiple times.
    *   Added a solver for ordinary differential equations,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Mar 30 18:31:38 GMT 2026
    - 746.5K bytes
    - Click Count (3)
  5. tensorflow/c/c_test_util.cc

    }
    
    std::vector<std::pair<string, string>> GetGradDefs(
        const tensorflow::GraphDef& graph_def) {
      std::vector<std::pair<string, string>> grads;
      for (const tensorflow::GradientDef& grad : graph_def.library().gradient()) {
        grads.emplace_back(grad.function_name(), grad.gradient_func());
      }
      std::sort(grads.begin(), grads.end());
      return grads;
    }
    
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 17.8K bytes
    - Click Count (1)
  6. tensorflow/c/c_api_test.cc

        std::string expected_msg =
            "No gradient defined for op: TestOpWithNoGradient. Please see "
            "https://www.tensorflow.org/code/"
            "tensorflow/cc/gradients/README.md"
            " for instructions on how to add C++ gradients.";
        EXPECT_EQ(expected_msg, TF_Message(s_));
      }
    
      // Run the graph and ensure that the gradient values are as expected.
    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)
  7. tensorflow/c/c_api.cc

        }
    
        // Update g->name_map with the name_map from the scope, which will contain
        // the new gradient ops.
        for (int i = first_new_node_id; i < g->graph.num_node_ids(); ++i) {
          Node* n = g->graph.FindNodeId(i);
          if (n == nullptr) continue;
    
          // Adding the gradients to the graph can alter the prefix to prevent
          // name collisions only if this prefix has not been provided explicitly
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 04 05:55:32 GMT 2025
    - 102.4K bytes
    - Click Count (0)
  8. 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)
  9. 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)
Back to Top