Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TF_FinishOperation (0.06 sec)

  1. tensorflow/c/c_api_test.cc

      TF_SetAttrIntList(desc, "v", nullptr, 0);
      auto oper = TF_FinishOperation(desc, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
      EXPECT_TF_META("v", 0, TF_ATTR_INT, -1);
    }
    
    TEST_F(CApiAttributesTest, Names) {
      auto desc = init("string");
      TF_SetAttrString(desc, "v", "bunny", 5);
    
      auto oper = TF_FinishOperation(desc, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Fri Dec 27 12:18:10 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

        } else if (ret != nullptr) {
          desc->graph->graph.RemoveNode(ret);
          ret = nullptr;
        }
      }
    
      delete desc;
    
      return ToOperation(ret);
    }
    
    TF_Operation* TF_FinishOperation(TF_OperationDescription* desc,
                                     TF_Status* status) {
      mutex_lock l(desc->graph->mu);
      return TF_FinishOperationLocked(desc, status);
    }
    
    // TF_Operation functions
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Tue May 13 06:30:43 UTC 2025
    - 102.3K bytes
    - Viewed (0)
Back to top