Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for gradients (0.34 sec)

  1. 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_);
    }
    
    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)
  2. 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 = [
    Plain Text
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Apr 11 23:52:39 GMT 2024
    - 33.3K bytes
    - Viewed (0)
  3. 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
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  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,
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Mon Apr 29 19:17:57 GMT 2024
    - 727.7K bytes
    - Viewed (8)
  5. tensorflow/c/c_api_function.cc

      if (TF_GetCode(status) != TF_OK) return;
    
      tensorflow::GradientDef gdef;
      gdef.set_function_name(func->record->fdef().signature().name());
      gdef.set_gradient_func(grad->record->fdef().signature().name());
      status->status = g->graph.AddGradientDef(std::move(gdef));
    }
    
    int TF_GraphNumFunctions(TF_Graph* g) {
      tensorflow::mutex_lock l(g->mu);
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 13.6K bytes
    - Viewed (2)
  6. tensorflow/c/c_api_experimental.cc

        status->status = tensorflow::errors::Internal(
            "Invalid text proto for GraphDef: ", text_proto);
        return {};
      }
      const auto& fdef_lib = gdef.library();
      if (fdef_lib.gradient_size() > 0) {
        status->status = tensorflow::errors::Internal(
            "GradientDef is not supported in reading Dataset related functions: ",
            text_proto);
        return {};
      }
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 29.4K bytes
    - Viewed (0)
Back to top