- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for operator (0.17 sec)
-
tensorflow/c/c_api_test.cc
TF_Graph* graph = TF_NewGraph(); // Make a placeholder operation. TF_Operation* feed = Placeholder(graph, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); // Make a constant operation with the scalar "2". TF_Operation* two = ScalarConst(2, graph, s); ASSERT_EQ(TF_OK, TF_GetCode(s)) << TF_Message(s); // Add operation. TF_Operation* add = Add(feed, two, graph, 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) -
tensorflow/c/eager/c_api_test.cc
TFE_DeleteContext(ctx); } tensorflow::AttrValueMap ExtractAttrs(TFE_Op* op) { tensorflow::AttrValueMap attr_values; tensorflow::EagerOperation* operation = tensorflow::OperationFromInterface(tensorflow::unwrap(op)); operation->Attrs().FillAttrValueMap(&attr_values); return attr_values; } TEST(CAPI, TestTFE_OpInferSingleInputAttrs) { TF_Status* status = TF_NewStatus();
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Aug 03 20:50:20 GMT 2023 - 94.6K bytes - Viewed (1) -
tensorflow/c/c_api_function_test.cc
* v v */ // Define TF_Operation* feed1 = Placeholder(func_graph_, s_, "feed1"); TF_Operation* feed2 = Placeholder(func_graph_, s_, "feed2"); Define(-1, {}, {feed1, feed2}, {feed2, feed1}, {}); // Use, run, and verify TF_Operation* two = ScalarConst(2, host_graph_, s_); TF_Operation* func_feed = Placeholder(host_graph_, s_); TF_Operation* func_op = Use({two, func_feed});
C++ - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Jul 20 22:08:54 GMT 2023 - 63.6K bytes - Viewed (6) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
/// properly handle the cases when an operation is not supported (i.e., return /// the corresponding `Status` value). /// /// REQUIRED OPERATIONS: All required operations are marked as such, including /// operations which are conditionally required. If the presence of an operation /// `foo` requires operation `bar` to be present, this is specified in `foo`. If
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Fri May 27 17:36:54 GMT 2022 - 53.1K bytes - Viewed (0) -
tensorflow/c/c_api.h
TF_CAPI_EXPORT extern void TF_DeleteGraph(TF_Graph*); // Operation being built. The underlying graph must outlive this. typedef struct TF_OperationDescription TF_OperationDescription; // Operation that has been added to the graph. Valid until the graph is // deleted -- in particular adding a new operation to the graph does not // invalidate old TF_Operation* pointers. typedef struct TF_Operation TF_Operation;
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Viewed (3)