- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for SetOpAttrValueScalar (0.13 sec)
-
tensorflow/c/eager/c_api_test.cc
for (int i = 0; i < 4; ++i) { i_list_values.mutable_list()->add_i(1); } SetOpAttrValueScalar(ctx, op, i_list_values, "ksize", status); SetOpAttrValueScalar(ctx, op, i_list_values, "strides", status); tensorflow::AttrValue padding_value; *padding_value.mutable_s() = "VALID"; tensorflow::SetOpAttrValueScalar(ctx, op, padding_value, "padding", status); tensorflow::AttrValue data_format_value;
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Aug 03 20:50:20 UTC 2023 - 94.6K bytes - Viewed (0) -
tensorflow/c/eager/c_api.cc
TF_Status* status) { TFE_Op* func_op = TFE_NewOp(ctx, func.name().data(), status); for (const auto& attr : func.attr()) { if (!status->status.ok()) return nullptr; SetOpAttrValueScalar(ctx, func_op, attr.second, attr.first.data(), status); if (!status->status.ok()) return nullptr; } return func_op; } } // namespace void TFE_ContextStartStep(TFE_Context* ctx) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 05:11:17 UTC 2024 - 43.9K bytes - Viewed (0)