- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for tf_attrtype (0.06 sec)
-
tensorflow/c/BUILD
], ("//tensorflow:chromiumos", "//tensorflow:fuchsia"): [ ":tf_attrtype", "//tensorflow/core:core_cpu", "//tensorflow/core:framework", "//tensorflow/core:lib", "//tensorflow/core/platform:platform", ], "//conditions:default": [ ":tf_attrtype", "//tensorflow/core:core_cpu", "//tensorflow/core:framework",Registered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sun Dec 07 13:04:09 UTC 2025 - 30.4K bytes - Viewed (0) -
tensorflow/c/c_api.cc
SINGLE_CASE(kS, TF_ATTR_STRING, attr->s().length()); SINGLE_CASE(kI, TF_ATTR_INT, -1); SINGLE_CASE(kF, TF_ATTR_FLOAT, -1); SINGLE_CASE(kB, TF_ATTR_BOOL, -1); SINGLE_CASE(kType, TF_ATTR_TYPE, -1); SINGLE_CASE(kShape, TF_ATTR_SHAPE, attr->shape().unknown_rank() ? -1 : attr->shape().dim_size()); SINGLE_CASE(kTensor, TF_ATTR_TENSOR, -1); #undef SINGLE_CASERegistered: Tue Dec 30 12:39:10 UTC 2025 - Last Modified: Sat Oct 04 05:55:32 UTC 2025 - 102.4K 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 Dec 30 12:39:10 UTC 2025 - Last Modified: Mon Nov 17 00:00:38 UTC 2025 - 97K bytes - Viewed (0)