Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for addNode (0.4 sec)

  1. tensorflow/c/c_api.cc

                                                     /*consume=*/true);
    
        if (status->status.ok()) {
          // Run shape inference function for newly added node.
          status->status = desc->graph->refiner.AddNode(ret);
        }
        if (status->status.ok()) {
          // Add the node to the name-to-node mapping.
          desc->graph->name_map[ret->name()] = ret;
        } else if (ret != nullptr) {
    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)
  2. tensorflow/c/experimental/gradients/math_grad_test.cc

      status_ = registry_.Register("AddV2", AddRegisterer);
      ASSERT_EQ(errors::OK, status_.code()) << status_.message();
    
      ASSERT_NO_FATAL_FAILURE(CompareNumericalAndAutodiffGradients(
          AddModel, BuildGradModel(AddModel, registry_),
          immediate_execution_ctx_.get(), {x.get(), y.get()}, UseFunction()));
    }
    
    TEST_P(CppGradients, TestExpGrad) {
      AbstractTensorHandlePtr x;
      {
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Thu Apr 13 17:32:14 GMT 2023
    - 16.3K bytes
    - Viewed (0)
Back to top