- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for tf_attrtype (0.08 sec)
-
tensorflow/c/c_api.h
#ifndef TENSORFLOW_C_C_API_H_ #define TENSORFLOW_C_C_API_H_ #include <stddef.h> #include <stdint.h> #include "tensorflow/c/c_api_macros.h" #include "tensorflow/c/tf_attrtype.h" #include "tensorflow/c/tf_buffer.h" #include "tensorflow/c/tf_datatype.h" #include "tensorflow/c/tf_status.h" #include "tensorflow/c/tf_tensor.h" #include "tensorflow/c/tf_tstring.h"
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
auto desc = init("type"); TF_SetAttrType(desc, "v", TF_COMPLEX128); auto oper = TF_FinishOperation(desc, s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); EXPECT_TF_META("v", -1, TF_ATTR_TYPE, -1); TF_DataType value; TF_OperationGetAttrType(oper, "v", &value, s_); EXPECT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); EXPECT_EQ(TF_COMPLEX128, value); }
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Fri Dec 27 12:18:10 UTC 2024 - 97K bytes - Viewed (0)